From 98bfaf9b8db508fd76b5367ebeb37c648a685ee2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Sun, 2 Nov 2014 12:25:59 +0100 Subject: PLayer: String getStatus() -> int getAp() --- core/src/ch/asynk/tankontank/game/Player.java | 4 ++-- 1 file 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() -- cgit v1.1-2-g2b99