summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-11-28 18:32:14 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-11-28 18:32:14 +0100
commit930cdbb4735fc6a52cc7b54b658907935675c3d9 (patch)
tree51ac4b95d6801872309f94045e9b771ebbdd3497 /core/src
parent0a980b02634f2a0f6cf25a1ea928ec7877e0ee51 (diff)
downloadRustAndDust-930cdbb4735fc6a52cc7b54b658907935675c3d9.zip
RustAndDust-930cdbb4735fc6a52cc7b54b658907935675c3d9.tar.gz
remove order.png
Diffstat (limited to 'core/src')
-rw-r--r--core/src/ch/asynk/tankontank/game/hud/ActionButtons.java10
1 files changed, 3 insertions, 7 deletions
diff --git a/core/src/ch/asynk/tankontank/game/hud/ActionButtons.java b/core/src/ch/asynk/tankontank/game/hud/ActionButtons.java
index 90e9873..8c0682c 100644
--- a/core/src/ch/asynk/tankontank/game/hud/ActionButtons.java
+++ b/core/src/ch/asynk/tankontank/game/hud/ActionButtons.java
@@ -15,10 +15,9 @@ public class ActionButtons extends Bg
public enum Buttons {
NONE(-1, 0),
PROMOTE(0, 1),
- ORDER(1, 2),
- DONE(2, 4),
- ABORT(3, 8),
- LAST(4, 0);
+ DONE(1, 2),
+ ABORT(2, 4),
+ LAST(3, 0);
Buttons(int i, int b)
{
@@ -49,12 +48,9 @@ public class ActionButtons extends Bg
this.buttons = new Bg[Buttons.LAST.i];
this.buttons[Buttons.DONE.i] = new Bg(atlas.findRegion("ok"));
this.buttons[Buttons.ABORT.i] = new Bg(atlas.findRegion("cancel"));
- this.buttons[Buttons.ORDER.i] = new Bg(atlas.findRegion("order"));
this.buttons[Buttons.PROMOTE.i] = new Bg(atlas.findRegion("promote"));
this.states = new StateType[Buttons.LAST.i];
- // FIXME
- // this.states[Buttons.ORDER.i] = StateType.ORDER;
this.states[Buttons.PROMOTE.i] = StateType.PROMOTE;
this.states[Buttons.DONE.i] = StateType.DONE;
this.states[Buttons.ABORT.i] = StateType.ABORT;