From f5c600909b82c4b222ea1c8a0f2e15651b426ead Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Thu, 18 Dec 2014 15:23:02 +0100 Subject: Ctrl: improve state switch debug string --- core/src/ch/asynk/tankontank/game/Ctrl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/ch/asynk/tankontank/game/Ctrl.java b/core/src/ch/asynk/tankontank/game/Ctrl.java index 6dfa949..b4dcb1f 100644 --- a/core/src/ch/asynk/tankontank/game/Ctrl.java +++ b/core/src/ch/asynk/tankontank/game/Ctrl.java @@ -201,7 +201,7 @@ public class Ctrl implements Disposable this.state.leave(nextState); - TankOnTank.debug(" switch to : " + nextState); + TankOnTank.debug(String.format(" %s -> %s : %s", stateType, nextState, player)); switch(nextState) { case SELECT: -- cgit v1.1-2-g2b99