v0.8.0: refactored most game actions into the core module
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
|
||||
package com.watabou.noosa.ui;
|
||||
|
||||
import com.watabou.input.KeyAction;
|
||||
import com.watabou.input.GameAction;
|
||||
import com.watabou.input.KeyBindings;
|
||||
import com.watabou.input.KeyEvent;
|
||||
import com.watabou.input.PointerEvent;
|
||||
@@ -38,7 +38,7 @@ public class Button extends Component {
|
||||
protected boolean pressed;
|
||||
protected float pressTime;
|
||||
protected boolean processed;
|
||||
|
||||
|
||||
@Override
|
||||
protected void createChildren() {
|
||||
hotArea = new PointerArea( 0, 0, 0, 0 ) {
|
||||
@@ -79,7 +79,7 @@ public class Button extends Component {
|
||||
private Signal.Listener<KeyEvent> keyListener;
|
||||
|
||||
public int keyAction(){
|
||||
return KeyAction.NONE;
|
||||
return GameAction.NONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user