Class ClientConfiguration
java.lang.Object
de.gurkenlabs.litiengine.configuration.ConfigurationGroup
de.gurkenlabs.litiengine.configuration.ClientConfiguration
public class ClientConfiguration
extends ConfigurationGroupThe client configuration contains client specific configuration elements.
Nested Class Summary
Nested classes/interfaces inherited from class de.gurkenlabs.litiengine.configuration.ConfigurationGroup
ConfigurationGroup.ConfigurationChangedListenerMethod Summary
Modifier and Type Method Description booleanexitOnError()java.lang.StringgetCountry()java.lang.StringgetLanguage()java.util.LocalegetLocale()intgetMaxFps()Gets the max fps.voidsetCountry(java.lang.String country)voidsetExitOnError(boolean exit)voidsetLanguage(java.lang.String language)voidsetMaxFps(int maxFps)Sets the max fps.voidsetShowGameMetrics(boolean showGameMetrics)booleanshowGameMetrics()Methods inherited from class de.gurkenlabs.litiengine.configuration.ConfigurationGroup
getPrefix, initializeByProperty, isDebug, onChanged, removeListener, set, setDebug, storeProperties
Method Details
getCountry
public java.lang.String getCountry()getLanguage
public java.lang.String getLanguage()getLocale
public java.util.Locale getLocale()getMaxFps
public int getMaxFps()Gets the max fps.- Returns:
- the max fps
setCountry
public void setCountry(java.lang.String country)setLanguage
public void setLanguage(java.lang.String language)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()
