mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-02-01 10:24:30 +07:00
Added some controls to disable debug rendering
This commit is contained in:
parent
88ae4c496b
commit
ef0b641fae
@ -46,6 +46,8 @@ public abstract class Entity implements Animation.AnimationListener {
|
|||||||
private static final boolean DEBUG_COF = DEBUG && !true;
|
private static final boolean DEBUG_COF = DEBUG && !true;
|
||||||
private static final boolean DEBUG_TARGET = DEBUG && true;
|
private static final boolean DEBUG_TARGET = DEBUG && true;
|
||||||
private static final boolean DEBUG_PATH = 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 {
|
protected enum Type {
|
||||||
OBJ("OBJECTS",
|
OBJ("OBJECTS",
|
||||||
@ -488,8 +490,8 @@ public abstract class Entity implements Animation.AnimationListener {
|
|||||||
|
|
||||||
|
|
||||||
public void drawDebug(PaletteIndexedBatch batch, ShapeRenderer shapes) {
|
public void drawDebug(PaletteIndexedBatch batch, ShapeRenderer shapes) {
|
||||||
drawDebugSize(shapes);
|
if (DEBUG_SIZE) drawDebugSize(shapes);
|
||||||
drawDebugStatus(batch, shapes);
|
if (DEBUG_STATUS) drawDebugStatus(batch, shapes);
|
||||||
if (DEBUG_TARGET) drawDebugTarget(shapes);
|
if (DEBUG_TARGET) drawDebugTarget(shapes);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user