summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-07-16 10:51:36 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2015-07-16 10:51:36 +0200
commite66f9f2a61d3dab4545e996046486de0d44e2901 (patch)
tree35e85371b6495bc44397574524ac537d0440de2e
parentca8c34144e0eaa40b668f16c91382dea6266b24c (diff)
downloadRustAndDust-e66f9f2a61d3dab4545e996046486de0d44e2901.zip
RustAndDust-e66f9f2a61d3dab4545e996046486de0d44e2901.tar.gz
GameScreen: draw hud rectangle on debug
-rw-r--r--core/src/ch/asynk/creepingarmor/screens/GameScreen.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/creepingarmor/screens/GameScreen.java b/core/src/ch/asynk/creepingarmor/screens/GameScreen.java
index 5c3dcfc..45e8560 100644
--- a/core/src/ch/asynk/creepingarmor/screens/GameScreen.java
+++ b/core/src/ch/asynk/creepingarmor/screens/GameScreen.java
@@ -172,6 +172,7 @@ public class GameScreen implements Screen
debugShapes.setAutoShapeType(true);
debugShapes.setProjectionMatrix(cam.getHudMatrix());
debugShapes.begin();
+ debugShapes.rect(cam.getHudLeft(), cam.getHudBottom(), cam.getHudWidth(), cam.getHudHeight());
ctrl.hud.drawDebug(debugShapes);
debugShapes.end();
}