summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/src/ch/asynk/tankontank/game/Player.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Player.java b/core/src/ch/asynk/tankontank/game/Player.java
index d10e6f7..2feb243 100644
--- a/core/src/ch/asynk/tankontank/game/Player.java
+++ b/core/src/ch/asynk/tankontank/game/Player.java
@@ -48,6 +48,11 @@ public class Player extends ch.asynk.tankontank.engine.Player implements Drawabl
flag.dispose();
}
+ public int getTurn()
+ {
+ return turn;
+ }
+
public boolean apExhausted()
{
return (apSpent == actionPoints);