From 648fe1ef85fa3b201d5642e41cfdfcbc3c70d6a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Fri, 19 Dec 2014 09:40:19 +0100 Subject: ActionButtons: code reorder --- core/src/ch/asynk/tankontank/game/hud/ActionButtons.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.1-2-g2b99