diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-06 10:39:35 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-06 10:39:35 +0100 |
commit | 21592b3cf4f0904d2d3b7a70a95d76bcca6dcf69 (patch) | |
tree | 29452cae7bc7c936e50c38d31349379627a6ab8a /core/src/ch/asynk/tankontank/game/hud | |
parent | 41746c8d9ceb4313af60ae92697f63897e4acbb7 (diff) | |
download | RustAndDust-21592b3cf4f0904d2d3b7a70a95d76bcca6dcf69.zip RustAndDust-21592b3cf4f0904d2d3b7a70a95d76bcca6dcf69.tar.gz |
add TankOnTank.debug(...)
Diffstat (limited to 'core/src/ch/asynk/tankontank/game/hud')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/hud/Msg.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/src/ch/asynk/tankontank/game/hud/Msg.java b/core/src/ch/asynk/tankontank/game/hud/Msg.java index 5eb3c5c..765a429 100644 --- a/core/src/ch/asynk/tankontank/game/hud/Msg.java +++ b/core/src/ch/asynk/tankontank/game/hud/Msg.java @@ -2,12 +2,13 @@ package ch.asynk.tankontank.game.hud; import java.util.ArrayDeque; -import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.g2d.Batch; import com.badlogic.gdx.graphics.g2d.BitmapFont; import com.badlogic.gdx.graphics.g2d.TextureRegion; import com.badlogic.gdx.graphics.g2d.BitmapFont.TextBounds; +import ch.asynk.tankontank.TankOnTank; + public class Msg extends Bg { class MsgInfo @@ -114,7 +115,7 @@ public class Msg extends Bg visible = false; if (stack.size() > 0) { MsgInfo info = stack.pop(); - System.err.println(info); + TankOnTank.debug(info.text); write(info.text, info.duration, info.position); } } |