summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-11-01 19:33:38 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-11-01 19:33:38 +0100
commit4f0fa554282cb32d1b46356acd0a0daeda91c705 (patch)
treecf1f27b3f6ae787eaa0b7bc28dc4bd3ec6f66864 /core/src/ch/asynk/tankontank
parentffc3966e1e995637a6d6b9cf5f7e0e88726a1d03 (diff)
downloadRustAndDust-4f0fa554282cb32d1b46356acd0a0daeda91c705.zip
RustAndDust-4f0fa554282cb32d1b46356acd0a0daeda91c705.tar.gz
Player: add int getTurn()
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);