Class DebugConfiguration
java.lang.Object
de.gurkenlabs.litiengine.configuration.ConfigurationGroup
de.gurkenlabs.litiengine.configuration.DebugConfiguration
-
Nested Class Summary
Nested classes/interfaces inherited from class de.gurkenlabs.litiengine.configuration.ConfigurationGroup
ConfigurationGroup.ConfigurationChangedListener -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if debug mode is enabled.booleanChecks if debug mouse rendering is enabled.booleanChecks if bounding boxes rendering is enabled.booleanChecks if collision boxes rendering is enabled.booleanChecks if entity names rendering is enabled.booleanChecks if GUI component bounding boxes rendering is enabled.booleanChecks if hit boxes rendering is enabled.voidsetDebugEnabled(boolean debugEnabled) Sets whether debug mode is enabled.voidsetRenderBoundingBoxes(boolean renderBoundingBoxes) Sets whether bounding boxes rendering is enabled.voidsetRenderCollisionBoxes(boolean renderCollisionBoxes) Sets whether collision boxes rendering is enabled.voidsetRenderDebugMouse(boolean renderDebugMouse) Sets whether debug mouse rendering is enabled.voidsetRenderEntityNames(boolean renderEntityNames) Sets whether entity names rendering is enabled.voidsetRenderGuiComponentBoundingBoxes(boolean renderGuiComponentBoundingBoxes) Sets whether GUI component bounding boxes rendering is enabled.voidsetRenderHitBoxes(boolean renderHitBoxes) Sets whether hit boxes rendering is enabled.voidsetShowMouseTargetMetric(boolean showMouseTargetMetric) Sets whether mouse target metric is shown.voidsetShowTilesMetric(boolean showTilesMetric) Sets whether tiles metric is shown.voidsetTrackRenderTimes(boolean trackRenderTimes) Sets whether render times tracking is enabled.booleanChecks if mouse target metric is shown.booleanChecks if tiles metric is shown.booleanChecks if render times tracking is enabled.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 debug mode is enabled.- Returns:
- true if debug mode is enabled, false otherwise.
-
isRenderDebugMouse
public boolean isRenderDebugMouse()Checks if debug mouse rendering is enabled.- Returns:
- true if debug mouse rendering is enabled, false otherwise.
-
renderBoundingBoxes
public boolean renderBoundingBoxes()Checks if bounding boxes rendering is enabled.- Returns:
- true if bounding boxes rendering is enabled, false otherwise.
-
renderCollisionBoxes
public boolean renderCollisionBoxes()Checks if collision boxes rendering is enabled.- Returns:
- true if collision boxes rendering is enabled, false otherwise.
-
renderEntityNames
public boolean renderEntityNames()Checks if entity names rendering is enabled.- Returns:
- true if entity names rendering is enabled, false otherwise.
-
renderHitBoxes
public boolean renderHitBoxes()Checks if hit boxes rendering is enabled.- Returns:
- true if hit boxes rendering is enabled, false otherwise.
-
renderGuiComponentBoundingBoxes
public boolean renderGuiComponentBoundingBoxes()Checks if GUI component bounding boxes rendering is enabled.- Returns:
- true if GUI component bounding boxes rendering is enabled, false otherwise.
-
showMouseTargetMetric
public boolean showMouseTargetMetric()Checks if mouse target metric is shown.- Returns:
- true if mouse target metric is shown, false otherwise.
-
showTilesMetric
public boolean showTilesMetric()Checks if tiles metric is shown.- Returns:
- true if tiles metric is shown, false otherwise.
-
trackRenderTimes
public boolean trackRenderTimes()Checks if render times tracking is enabled.- Returns:
- true if render times tracking is enabled, false otherwise.
-
setDebugEnabled
public void setDebugEnabled(boolean debugEnabled) Sets whether debug mode is enabled.- Parameters:
debugEnabled- true to enable debug mode, false to disable.
-
setRenderBoundingBoxes
public void setRenderBoundingBoxes(boolean renderBoundingBoxes) Sets whether bounding boxes rendering is enabled.- Parameters:
renderBoundingBoxes- true to enable bounding boxes rendering, false to disable.
-
setRenderCollisionBoxes
public void setRenderCollisionBoxes(boolean renderCollisionBoxes) Sets whether collision boxes rendering is enabled.- Parameters:
renderCollisionBoxes- true to enable collision boxes rendering, false to disable.
-
setRenderDebugMouse
public void setRenderDebugMouse(boolean renderDebugMouse) Sets whether debug mouse rendering is enabled.- Parameters:
renderDebugMouse- true to enable debug mouse rendering, false to disable.
-
setRenderEntityNames
public void setRenderEntityNames(boolean renderEntityNames) Sets whether entity names rendering is enabled.- Parameters:
renderEntityNames- true to enable entity names rendering, false to disable.
-
setRenderHitBoxes
public void setRenderHitBoxes(boolean renderHitBoxes) Sets whether hit boxes rendering is enabled.- Parameters:
renderHitBoxes- true to enable hit boxes rendering, false to disable.
-
setShowMouseTargetMetric
public void setShowMouseTargetMetric(boolean showMouseTargetMetric) Sets whether mouse target metric is shown.- Parameters:
showMouseTargetMetric- true to show mouse target metric, false to hide.
-
setShowTilesMetric
public void setShowTilesMetric(boolean showTilesMetric) Sets whether tiles metric is shown.- Parameters:
showTilesMetric- true to show tiles metric, false to hide.
-
setRenderGuiComponentBoundingBoxes
public void setRenderGuiComponentBoundingBoxes(boolean renderGuiComponentBoundingBoxes) Sets whether GUI component bounding boxes rendering is enabled.- Parameters:
renderGuiComponentBoundingBoxes- true to enable GUI component bounding boxes rendering, false to disable.
-
setTrackRenderTimes
public void setTrackRenderTimes(boolean trackRenderTimes) Sets whether render times tracking is enabled.- Parameters:
trackRenderTimes- true to enable render times tracking, false to disable.
-