summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-12-18 17:13:44 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-12-18 17:13:44 +0100
commit40124a80393331c77aceb8a8c4a16b5a5f581d7f (patch)
tree5a824b9ee36877657adee4d5be6aab70c0bad8c3
parentdf43d41c7a3bd5cad7ed45350284bf9fd6b379b1 (diff)
downloadRustAndDust-40124a80393331c77aceb8a8c4a16b5a5f581d7f.zip
RustAndDust-40124a80393331c77aceb8a8c4a16b5a5f581d7f.tar.gz
Ctrl: improve debug string
-rw-r--r--core/src/ch/asynk/tankontank/game/Ctrl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Ctrl.java b/core/src/ch/asynk/tankontank/game/Ctrl.java
index 0e6caa5..612e4cb 100644
--- a/core/src/ch/asynk/tankontank/game/Ctrl.java
+++ b/core/src/ch/asynk/tankontank/game/Ctrl.java
@@ -164,7 +164,7 @@ public class Ctrl implements Disposable
if (nextState == StateType.DONE) {
map.actionDone();
if (map.activatedUnits.size() > 0) {
- TankOnTank.debug("burn down 1AP");
+ TankOnTank.debug("Ctrl", "burn down 1AP");
player.burnDownOneAp();
hud.update();
}
@@ -201,7 +201,7 @@ public class Ctrl implements Disposable
this.state.leave(nextState);
- TankOnTank.debug(String.format(" %s -> %s : %s", stateType, nextState, player));
+ TankOnTank.debug("Ctrl", String.format(" %s -> %s : %s", stateType, nextState, player));
switch(nextState) {
case SELECT: