public abstract class LibgdxPlatformUtils extends JvmPlatformUtils
| Constructor and Description |
|---|
LibgdxPlatformUtils() |
| Modifier and Type | Method and Description |
|---|---|
void |
exit(boolean ignorePlatformRestrictions)
Exits the game
|
currentTimeMillis, getAvailableMemory, getTotalMemory, getUsedMemory, nanoTimegetAverageRenderDuration, getAverageUpdateDuration, getFramesPerSecond, getUpdatesPerSecond, isGameThread, markFrame, markRenderBegin, markRenderEnd, markUpdateBegin, markUpdateEndpublic void exit(boolean ignorePlatformRestrictions)
PlatformUtilsexit in class PlatformUtilsignorePlatformRestrictions - exit even if platform rules don't permit exiting programmatically. Should be
used only for debug purposes and always set to false for release builds.