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, nanoTime
getAverageRenderDuration, getAverageUpdateDuration, getFramesPerSecond, getUpdatesPerSecond, isGameThread, markFrame, markRenderBegin, markRenderEnd, markUpdateBegin, markUpdateEnd
public void exit(boolean ignorePlatformRestrictions)
PlatformUtils
exit
in class PlatformUtils
ignorePlatformRestrictions
- 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.