Skip to content
Permalink
Browse files

Added some controls to disable debug rendering

  • Loading branch information...
collinsmith committed Oct 6, 2019
1 parent 88ae4c4 commit ef0b641fae9b712a49a6cebd9b01fe5b71e5e789
Showing with 4 additions and 2 deletions.
  1. +4 −2 core/src/com/riiablo/entity/Entity.java
@@ -46,6 +46,8 @@
private static final boolean DEBUG_COF = DEBUG && !true;
private static final boolean DEBUG_TARGET = DEBUG && true;
private static final boolean DEBUG_PATH = DEBUG && !true;
private static final boolean DEBUG_SIZE = DEBUG && !true;
private static final boolean DEBUG_STATUS = DEBUG && !true;

protected enum Type {
OBJ("OBJECTS",
@@ -488,8 +490,8 @@ public void drawShadow(PaletteIndexedBatch batch) {


public void drawDebug(PaletteIndexedBatch batch, ShapeRenderer shapes) {
drawDebugSize(shapes);
drawDebugStatus(batch, shapes);
if (DEBUG_SIZE) drawDebugSize(shapes);
if (DEBUG_STATUS) drawDebugStatus(batch, shapes);
if (DEBUG_TARGET) drawDebugTarget(shapes);
}

0 comments on commit ef0b641

Please sign in to comment.
You can’t perform that action at this time.