summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/tankontank')
-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);