Class ClientConfiguration
java.lang.Object
de.gurkenlabs.litiengine.configuration.ConfigurationGroup
de.gurkenlabs.litiengine.configuration.ClientConfiguration
The client configuration contains client specific configuration elements.
-
Nested Class Summary
Nested classes/interfaces inherited from class de.gurkenlabs.litiengine.configuration.ConfigurationGroup
ConfigurationGroup.ConfigurationChangedListener -
Method Summary
Modifier and TypeMethodDescriptionbooleanintGets the max fps.voidsetCountry(String country) voidsetExitOnError(boolean exit) voidsetLanguage(String language) voidsetMaxFps(int maxFps) Sets the max fps.voidsetShowGameMetrics(boolean showGameMetrics) booleanMethods inherited from class de.gurkenlabs.litiengine.configuration.ConfigurationGroup
getPrefix, initializeByProperty, isDebug, onChanged, removeListener, set, setDebug, storeProperties
-
Method Details
-
getCountry
-
getLanguage
-
getLocale
-
getMaxFps
public int getMaxFps()Gets the max fps.- Returns:
- the max fps
-
setCountry
-
setLanguage
-
setMaxFps
public void setMaxFps(int maxFps) Sets the max fps.- Parameters:
maxFps- the new max fps
-
setShowGameMetrics
public void setShowGameMetrics(boolean showGameMetrics) -
setExitOnError
public void setExitOnError(boolean exit) -
showGameMetrics
public boolean showGameMetrics() -
exitOnError
public boolean exitOnError()
-