summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-01-21 10:56:05 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-01-21 10:56:05 +0100
commit6388453ae3088875dd92418697abae896547dd98 (patch)
tree380bd3eb31f491e33598884b0be46ac28e05fe14
parent77aa4d73bef6033df86680130ee63852928bfe89 (diff)
downloadRustAndDust-6388453ae3088875dd92418697abae896547dd98.zip
RustAndDust-6388453ae3088875dd92418697abae896547dd98.tar.gz
cleanup debug messages
-rw-r--r--core/src/ch/asynk/tankontank/game/Map.java2
-rw-r--r--core/src/ch/asynk/tankontank/game/states/StateSelect.java2
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 "));
}
}