summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-11-02 12:25:59 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-11-02 12:25:59 +0100
commit98bfaf9b8db508fd76b5367ebeb37c648a685ee2 (patch)
treee8cfefcb000973f6abe7906e5cabe9ee02068dd3 /core/src/ch/asynk/tankontank
parentd7ea3cd9d156a096fbbe0f7752bd62e714bf6d93 (diff)
downloadRustAndDust-98bfaf9b8db508fd76b5367ebeb37c648a685ee2.zip
RustAndDust-98bfaf9b8db508fd76b5367ebeb37c648a685ee2.tar.gz
PLayer: String getStatus() -> int getAp()
Diffstat (limited to 'core/src/ch/asynk/tankontank')
-rw-r--r--core/src/ch/asynk/tankontank/game/Player.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Player.java b/core/src/ch/asynk/tankontank/game/Player.java
index 86f9fb2..e484749 100644
--- a/core/src/ch/asynk/tankontank/game/Player.java
+++ b/core/src/ch/asynk/tankontank/game/Player.java
@@ -28,9 +28,9 @@ public class Player extends ch.asynk.tankontank.engine.Player
" units:" + units.size() + " casualties:" + casualties.size();
}
- public String getStatus()
+ public int getAp()
{
- return "Turn: " + turn + " AP: " + (apSpent + 1);
+ return (apSpent + 1);
}
public int getTurn()