From 6388453ae3088875dd92418697abae896547dd98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 21 Jan 2015 10:56:05 +0100 Subject: cleanup debug messages --- core/src/ch/asynk/tankontank/game/Map.java | 2 +- core/src/ch/asynk/tankontank/game/states/StateSelect.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/ch/asynk/tankontank/game/Map.java b/core/src/ch/asynk/tankontank/game/Map.java index 14a0f10..64a9e19 100644 --- a/core/src/ch/asynk/tankontank/game/Map.java +++ b/core/src/ch/asynk/tankontank/game/Map.java @@ -412,6 +412,7 @@ public abstract class Map extends Board implements MoveToAnimationCb, ObjectiveS public void revertEnter(Unit unit) { + TankOnTank.debug(" revertEnter()"+ unit); unit.reset(); removePawn(unit); objectives.revert(this); @@ -448,7 +449,6 @@ public abstract class Map extends Board implements MoveToAnimationCb, ObjectiveS private void animationDone() { - TankOnTank.debug("animation done"); if (soundId >= 0) addAnimation( SoundAnimation.get(SoundAnimation.Action.FADE_OUT, sound, soundId, ctrl.cfg.fxVolume, 0.5f)); soundId = -1; diff --git a/core/src/ch/asynk/tankontank/game/states/StateSelect.java b/core/src/ch/asynk/tankontank/game/states/StateSelect.java index 6f33ed8..387fbb0 100644 --- a/core/src/ch/asynk/tankontank/game/states/StateSelect.java +++ b/core/src/ch/asynk/tankontank/game/states/StateSelect.java @@ -127,6 +127,6 @@ public class StateSelect extends StateCommon } ctrl.hud.actionButtons.show((ctrl.player.canPromote(selectedUnit)) ? Buttons.PROMOTE.b : 0 ); - TankOnTank.debug("Select", selectedHex.toString() + selectedUnit + (isEnemy ? " enemy " : " friend ")); + TankOnTank.debug("Select", selectedHex.toString() + " " + selectedUnit + (isEnemy ? " enemy " : " friend ")); } } -- cgit v1.1-2-g2b99