summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-11-16 01:16:57 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-11-16 01:16:57 +0100
commit041f0319f7661e5ad81b8362ee56c11cd0359076 (patch)
tree82cd7ffeb8b5d05f6a47d427e9f140ad48c6899a /core/src/ch/asynk/tankontank
parentbb0edecf047baa7b22745ab7608cd5424b5db76d (diff)
downloadRustAndDust-041f0319f7661e5ad81b8362ee56c11cd0359076.zip
RustAndDust-041f0319f7661e5ad81b8362ee56c11cd0359076.tar.gz
PlayerInfo: add blockEndOfTurn(boolean blocked)
Diffstat (limited to 'core/src/ch/asynk/tankontank')
-rw-r--r--core/src/ch/asynk/tankontank/game/hud/PlayerInfo.java5
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;