diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-14 10:54:58 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-14 10:54:58 +0100 |
commit | 78424203d7168d7a287b0c949d52f0209208a11c (patch) | |
tree | 6391baf7d8000381bbda9f39b2f9d8c8da086c7c /core/src/ch/asynk/tankontank/game | |
parent | a7e8e5bdfee70a0dee426b37c678080966a9099f (diff) | |
download | RustAndDust-78424203d7168d7a287b0c949d52f0209208a11c.zip RustAndDust-78424203d7168d7a287b0c949d52f0209208a11c.tar.gz |
LabelImage: setLabelPosition(Position) triggers setPosition(rect.x, rect.y)
Diffstat (limited to 'core/src/ch/asynk/tankontank/game')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/hud/LabelImage.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/hud/LabelImage.java b/core/src/ch/asynk/tankontank/game/hud/LabelImage.java index 3081d7f..bcfd23b 100644 --- a/core/src/ch/asynk/tankontank/game/hud/LabelImage.java +++ b/core/src/ch/asynk/tankontank/game/hud/LabelImage.java @@ -31,6 +31,7 @@ public class LabelImage extends Bg public void setLabelPosition(Position position) { labelPosition = position; + setPosition(rect.x, rect.y); } public void setPosition(float x, float y) |