summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-11-10 17:35:58 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-11-10 17:35:58 +0100
commit48ef61ee3edfafd6878899e68a201a372691cf3f (patch)
tree7026251ea8e829e4e3375b93b20ff8ba221e9edf /core/src
parent8ebce86d43d4fd9585153dfa69b0def27e833da6 (diff)
downloadRustAndDust-48ef61ee3edfafd6878899e68a201a372691cf3f.zip
RustAndDust-48ef61ee3edfafd6878899e68a201a372691cf3f.tar.gz
ActionButtons: default position is BOTTOM_RIGHT, fix typo
Diffstat (limited to 'core/src')
-rw-r--r--core/src/ch/asynk/tankontank/game/hud/ActionButtons.java4
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;
}