diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-12-10 09:07:55 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-12-10 09:07:55 +0100 |
commit | ff7242f6d6751f5eaf4b1fceb5cb4a211150f87b (patch) | |
tree | c625ca499555adec74aa560bb980e57bd4ef9bc9 | |
parent | 2ebeade2bc9840106d9c207a9979ea304370961f (diff) | |
download | RustAndDust-ff7242f6d6751f5eaf4b1fceb5cb4a211150f87b.zip RustAndDust-ff7242f6d6751f5eaf4b1fceb5cb4a211150f87b.tar.gz |
Player: add AP debug
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/Player.java | 2 |
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"); } |