diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-01 19:33:38 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-01 19:33:38 +0100 |
commit | 4f0fa554282cb32d1b46356acd0a0daeda91c705 (patch) | |
tree | cf1f27b3f6ae787eaa0b7bc28dc4bd3ec6f66864 /core/src/ch/asynk | |
parent | ffc3966e1e995637a6d6b9cf5f7e0e88726a1d03 (diff) | |
download | RustAndDust-4f0fa554282cb32d1b46356acd0a0daeda91c705.zip RustAndDust-4f0fa554282cb32d1b46356acd0a0daeda91c705.tar.gz |
Player: add int getTurn()
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Player.java | 5 |
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); |