diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-02 12:25:59 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-02 12:25:59 +0100 |
commit | 98bfaf9b8db508fd76b5367ebeb37c648a685ee2 (patch) | |
tree | e8cfefcb000973f6abe7906e5cabe9ee02068dd3 /core/src/ch/asynk | |
parent | d7ea3cd9d156a096fbbe0f7752bd62e714bf6d93 (diff) | |
download | RustAndDust-98bfaf9b8db508fd76b5367ebeb37c648a685ee2.zip RustAndDust-98bfaf9b8db508fd76b5367ebeb37c648a685ee2.tar.gz |
PLayer: String getStatus() -> int getAp()
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Player.java | 4 |
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() |