summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-12-10 09:07:55 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-12-10 09:07:55 +0100
commitff7242f6d6751f5eaf4b1fceb5cb4a211150f87b (patch)
treec625ca499555adec74aa560bb980e57bd4ef9bc9 /core/src/ch/asynk/rustanddust
parent2ebeade2bc9840106d9c207a9979ea304370961f (diff)
downloadRustAndDust-ff7242f6d6751f5eaf4b1fceb5cb4a211150f87b.zip
RustAndDust-ff7242f6d6751f5eaf4b1fceb5cb4a211150f87b.tar.gz
Player: add AP debug
Diffstat (limited to 'core/src/ch/asynk/rustanddust')
-rw-r--r--core/src/ch/asynk/rustanddust/game/Player.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Player.java b/core/src/ch/asynk/rustanddust/game/Player.java
index 539bed2..fb26680 100644
--- a/core/src/ch/asynk/rustanddust/game/Player.java
+++ b/core/src/ch/asynk/rustanddust/game/Player.java
@@ -155,9 +155,9 @@ public class Player
public void burnDownOneAp()
{
- RustAndDust.debug("Player", "burn down 1AP");
apSpent += 1;
actionCount += 1;
+ RustAndDust.debug("Player", String.format("%d/%d - %d", apSpent, actionPoints, actionCount));
if (apSpent > actionPoints) RustAndDust.debug("ERROR: spent too much AP, please report");
}