From 9bf38d28dec2f1eb19a7d703665e557b4b7142e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Fri, 26 Sep 2014 09:43:57 +0200 Subject: set GameScreen.DEBUG --- core/src/ch/asynk/tankontank/screens/GameScreen.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/ch/asynk/tankontank/screens/GameScreen.java b/core/src/ch/asynk/tankontank/screens/GameScreen.java index 5b60bcc..a66472b 100644 --- a/core/src/ch/asynk/tankontank/screens/GameScreen.java +++ b/core/src/ch/asynk/tankontank/screens/GameScreen.java @@ -37,6 +37,8 @@ import ch.asynk.tankontank.engine.Pawn; public class GameScreen implements Screen { + private static final boolean DEBUG = false; + private static final float ZOOM_MAX = 0.2f; private static final float ZOOM_GESTURE_FACTOR = .01f; private static final float ZOOM_SCROLL_FACTOR = .1f; @@ -207,7 +209,7 @@ public class GameScreen implements Screen hud.act(delta); hud.draw(); - if (true) { + if (DEBUG) { Gdx.gl.glEnable(GL20.GL_BLEND); debugShapes.setAutoShapeType(true); debugShapes.setProjectionMatrix(cam.combined); -- cgit v1.1-2-g2b99