summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-11-14 10:54:58 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-11-14 10:54:58 +0100
commit78424203d7168d7a287b0c949d52f0209208a11c (patch)
tree6391baf7d8000381bbda9f39b2f9d8c8da086c7c /core
parenta7e8e5bdfee70a0dee426b37c678080966a9099f (diff)
downloadRustAndDust-78424203d7168d7a287b0c949d52f0209208a11c.zip
RustAndDust-78424203d7168d7a287b0c949d52f0209208a11c.tar.gz
LabelImage: setLabelPosition(Position) triggers setPosition(rect.x, rect.y)
Diffstat (limited to 'core')
-rw-r--r--core/src/ch/asynk/tankontank/game/hud/LabelImage.java1
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)