diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-10 17:35:58 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-10 17:35:58 +0100 |
commit | 48ef61ee3edfafd6878899e68a201a372691cf3f (patch) | |
tree | 7026251ea8e829e4e3375b93b20ff8ba221e9edf /core | |
parent | 8ebce86d43d4fd9585153dfa69b0def27e833da6 (diff) | |
download | RustAndDust-48ef61ee3edfafd6878899e68a201a372691cf3f.zip RustAndDust-48ef61ee3edfafd6878899e68a201a372691cf3f.tar.gz |
ActionButtons: default position is BOTTOM_RIGHT, fix typo
Diffstat (limited to 'core')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/hud/ActionButtons.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/tankontank/game/hud/ActionButtons.java b/core/src/ch/asynk/tankontank/game/hud/ActionButtons.java index 00249f6..0da49eb 100644 --- a/core/src/ch/asynk/tankontank/game/hud/ActionButtons.java +++ b/core/src/ch/asynk/tankontank/game/hud/ActionButtons.java @@ -44,7 +44,7 @@ public class ActionButtons extends Bg this.ctrl = ctrl; this.padding = padding; this.visible = false; - this.position = Position.TOP_RIGHT; + this.position = Position.BOTTOM_RIGHT; this.idx = Buttons.NONE.i; this.buttons = new Button[Buttons.LAST.i]; @@ -72,7 +72,7 @@ public class ActionButtons extends Bg buttons[i].dispose(); } - public void setPositon(Position position) + public void setPosition(Position position) { this.position = position; } |