diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-16 01:16:57 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-16 01:16:57 +0100 |
commit | 041f0319f7661e5ad81b8362ee56c11cd0359076 (patch) | |
tree | 82cd7ffeb8b5d05f6a47d427e9f140ad48c6899a | |
parent | bb0edecf047baa7b22745ab7608cd5424b5db76d (diff) | |
download | RustAndDust-041f0319f7661e5ad81b8362ee56c11cd0359076.zip RustAndDust-041f0319f7661e5ad81b8362ee56c11cd0359076.tar.gz |
PlayerInfo: add blockEndOfTurn(boolean blocked)
-rw-r--r-- | core/src/ch/asynk/tankontank/game/hud/PlayerInfo.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/hud/PlayerInfo.java b/core/src/ch/asynk/tankontank/game/hud/PlayerInfo.java index ffc76c6..5cd4b5f 100644 --- a/core/src/ch/asynk/tankontank/game/hud/PlayerInfo.java +++ b/core/src/ch/asynk/tankontank/game/hud/PlayerInfo.java @@ -116,6 +116,11 @@ public class PlayerInfo implements Disposable, Drawable return (Unit) unitDock.selectedPawn; } + public void blockEndOfTurn(boolean blocked) + { + turns.blocked = blocked; + } + public boolean touchDown(float x, float y) { hit = null; |