Class DebugConfiguration
java.lang.Object
de.gurkenlabs.litiengine.configuration.ConfigurationGroup
de.gurkenlabs.litiengine.configuration.DebugConfiguration
public class DebugConfiguration
extends ConfigurationGroup
Nested Class Summary
Nested classes/interfaces inherited from class de.gurkenlabs.litiengine.configuration.ConfigurationGroup
ConfigurationGroup.ConfigurationChangedListener
Method Summary
Modifier and Type Method Description boolean
isDebugEnabled()
Checks if is debug enabled.boolean
isRenderDebugMouse()
boolean
renderBoundingBoxes()
boolean
renderCollisionBoxes()
Render collision boxes.boolean
renderEntityNames()
Render entity names.boolean
renderGuiComponentBoundingBoxes()
boolean
renderHitBoxes()
Render hit boxes.void
setDebugEnabled(boolean debugEnabled)
void
setRenderBoundingBoxes(boolean renderBoundingBoxes)
void
setRenderCollisionBoxes(boolean renderCollisionBoxes)
void
setRenderDebugMouse(boolean renderDebugMouse)
void
setRenderEntityNames(boolean renderEntityNames)
void
setRenderGuiComponentBoundingBoxes(boolean renderGuiComponentBoundingBoxes)
void
setRenderHitBoxes(boolean renderHitBoxes)
void
setShowMouseTargetMetric(boolean showMouseTargetMetric)
void
setShowTilesMetric(boolean showTilesMetric)
void
setTrackRenderTimes(boolean trackRenderTimes)
boolean
showMouseTargetMetric()
Show mouse target metric.boolean
showTilesMetric()
Show tiles metric.boolean
trackRenderTimes()
Methods inherited from class de.gurkenlabs.litiengine.configuration.ConfigurationGroup
getPrefix, initializeByProperty, isDebug, onChanged, removeListener, set, setDebug, storeProperties
Method Details
isDebugEnabled
public boolean isDebugEnabled()Checks if is debug enabled.- Returns:
- true, if is debug enabled
isRenderDebugMouse
public boolean isRenderDebugMouse()renderBoundingBoxes
public boolean renderBoundingBoxes()renderCollisionBoxes
public boolean renderCollisionBoxes()Render collision boxes.- Returns:
- true, if successful
renderEntityNames
public boolean renderEntityNames()Render entity names.- Returns:
- true, if successful
renderHitBoxes
public boolean renderHitBoxes()Render hit boxes.- Returns:
- true, if successful
renderGuiComponentBoundingBoxes
public boolean renderGuiComponentBoundingBoxes()showMouseTargetMetric
public boolean showMouseTargetMetric()Show mouse target metric.- Returns:
- true, if successful
showTilesMetric
public boolean showTilesMetric()Show tiles metric.- Returns:
- true, if successful
trackRenderTimes
public boolean trackRenderTimes()setDebugEnabled
public void setDebugEnabled(boolean debugEnabled)setRenderBoundingBoxes
public void setRenderBoundingBoxes(boolean renderBoundingBoxes)setRenderCollisionBoxes
public void setRenderCollisionBoxes(boolean renderCollisionBoxes)setRenderDebugMouse
public void setRenderDebugMouse(boolean renderDebugMouse)setRenderEntityNames
public void setRenderEntityNames(boolean renderEntityNames)setRenderHitBoxes
public void setRenderHitBoxes(boolean renderHitBoxes)setShowMouseTargetMetric
public void setShowMouseTargetMetric(boolean showMouseTargetMetric)setShowTilesMetric
public void setShowTilesMetric(boolean showTilesMetric)setRenderGuiComponentBoundingBoxes
public void setRenderGuiComponentBoundingBoxes(boolean renderGuiComponentBoundingBoxes)setTrackRenderTimes
public void setTrackRenderTimes(boolean trackRenderTimes)