diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-15 16:06:53 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-15 16:06:53 +0100 |
commit | e29f3553e3ab34b06ec657cdd0444d9f813599a3 (patch) | |
tree | e444d7ddae6fbd141e30faf289ca1d56c1fb4677 /core/src/ch/asynk/tankontank/game/hud | |
parent | 8919200e69f7972813de1a8e73f3159274227aa8 (diff) | |
download | RustAndDust-e29f3553e3ab34b06ec657cdd0444d9f813599a3.zip RustAndDust-e29f3553e3ab34b06ec657cdd0444d9f813599a3.tar.gz |
Player: getAp() never returns a value > action points
Diffstat (limited to 'core/src/ch/asynk/tankontank/game/hud')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/hud/Bg.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/hud/Bg.java b/core/src/ch/asynk/tankontank/game/hud/Bg.java index 5679d57..411683a 100644 --- a/core/src/ch/asynk/tankontank/game/hud/Bg.java +++ b/core/src/ch/asynk/tankontank/game/hud/Bg.java @@ -22,6 +22,7 @@ public class Bg extends Widget @Override public void draw(Batch batch) { + if (!visible) return; batch.draw(region, rect.x, rect.y, rect.width, rect.height); } } |