Class DebugConfiguration
java.lang.Object
de.gurkenlabs.litiengine.configuration.ConfigurationGroup
de.gurkenlabs.litiengine.configuration.DebugConfiguration
public class DebugConfiguration
extends ConfigurationGroupNested Class Summary
Nested classes/interfaces inherited from class de.gurkenlabs.litiengine.configuration.ConfigurationGroup
ConfigurationGroup.ConfigurationChangedListenerMethod Summary
Modifier and Type Method Description booleanisDebugEnabled()Checks if is debug enabled.booleanisRenderDebugMouse()booleanrenderBoundingBoxes()booleanrenderCollisionBoxes()Render collision boxes.booleanrenderEntityNames()Render entity names.booleanrenderGuiComponentBoundingBoxes()booleanrenderHitBoxes()Render hit boxes.voidsetDebugEnabled(boolean debugEnabled)voidsetRenderBoundingBoxes(boolean renderBoundingBoxes)voidsetRenderCollisionBoxes(boolean renderCollisionBoxes)voidsetRenderDebugMouse(boolean renderDebugMouse)voidsetRenderEntityNames(boolean renderEntityNames)voidsetRenderGuiComponentBoundingBoxes(boolean renderGuiComponentBoundingBoxes)voidsetRenderHitBoxes(boolean renderHitBoxes)voidsetShowMouseTargetMetric(boolean showMouseTargetMetric)voidsetShowTilesMetric(boolean showTilesMetric)voidsetTrackRenderTimes(boolean trackRenderTimes)booleanshowMouseTargetMetric()Show mouse target metric.booleanshowTilesMetric()Show tiles metric.booleantrackRenderTimes()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)
