v0.8.0: fixes/tweaks:
- damage numbers now appear where a sprite is arriving if it is moving - blob emitters can now have a defined bound within a cell - tweaked hero level exit/entrance behaviour - refactored game actions that are defined in GameAction.java
This commit is contained in:
@@ -37,10 +37,6 @@ public class Scene extends Group {
|
||||
if (Game.instance != null && event.pressed) {
|
||||
if (KeyBindings.getActionForKey( event ) == GameAction.BACK){
|
||||
onBackPressed();
|
||||
|
||||
} else if (KeyBindings.getActionForKey( event ) == GameAction.MENU){
|
||||
onMenuPressed();
|
||||
|
||||
}
|
||||
}
|
||||
return false;
|
||||
@@ -79,9 +75,5 @@ public class Scene extends Group {
|
||||
protected void onBackPressed() {
|
||||
Game.instance.finish();
|
||||
}
|
||||
|
||||
protected void onMenuPressed() {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user