summaryrefslogtreecommitdiffstats
path: root/core/src/ch
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-09-26 09:43:57 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-09-26 09:43:57 +0200
commit9bf38d28dec2f1eb19a7d703665e557b4b7142e5 (patch)
treec81bc25b79d61628a41fec8f9afc86cf54a0f8f2 /core/src/ch
parentb75c7dd6a5766016fe882a32002ff142e18f216f (diff)
downloadRustAndDust-9bf38d28dec2f1eb19a7d703665e557b4b7142e5.zip
RustAndDust-9bf38d28dec2f1eb19a7d703665e557b4b7142e5.tar.gz
set GameScreen.DEBUG
Diffstat (limited to 'core/src/ch')
-rw-r--r--core/src/ch/asynk/tankontank/screens/GameScreen.java4
1 files changed, 3 insertions, 1 deletions
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);