summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-12-19 09:40:19 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-12-19 09:40:19 +0100
commit648fe1ef85fa3b201d5642e41cfdfcbc3c70d6a6 (patch)
treed8ca368356fa776a5239c230ebef7a9c8c1bbb88 /core/src
parent1c4157758f7748b9522e64ebaa2ca0fd09b31a72 (diff)
downloadRustAndDust-648fe1ef85fa3b201d5642e41cfdfcbc3c70d6a6.zip
RustAndDust-648fe1ef85fa3b201d5642e41cfdfcbc3c70d6a6.tar.gz
ActionButtons: code reorder
Diffstat (limited to 'core/src')
-rw-r--r--core/src/ch/asynk/tankontank/game/hud/ActionButtons.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/game/hud/ActionButtons.java b/core/src/ch/asynk/tankontank/game/hud/ActionButtons.java
index f32c44d..d943ae8 100644
--- a/core/src/ch/asynk/tankontank/game/hud/ActionButtons.java
+++ b/core/src/ch/asynk/tankontank/game/hud/ActionButtons.java
@@ -52,9 +52,9 @@ public class ActionButtons extends Widget
this.buttons[Buttons.PROMOTE.i] = new Bg(atlas.findRegion("promote"));
this.states = new StateType[Buttons.LAST.i];
- this.states[Buttons.PROMOTE.i] = StateType.PROMOTE;
this.states[Buttons.DONE.i] = StateType.DONE;
this.states[Buttons.ABORT.i] = StateType.ABORT;
+ this.states[Buttons.PROMOTE.i] = StateType.PROMOTE;
}
@Override