From ff7242f6d6751f5eaf4b1fceb5cb4a211150f87b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Thu, 10 Dec 2015 09:07:55 +0100 Subject: Player: add AP debug --- core/src/ch/asynk/rustanddust/game/Player.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } -- cgit v1.1-2-g2b99