Class ClientConfiguration
java.lang.Object
de.gurkenlabs.litiengine.configuration.ConfigurationGroup
de.gurkenlabs.litiengine.configuration.ClientConfiguration
public class ClientConfiguration
extends ConfigurationGroup
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 Type Method Description boolean
exitOnError()
java.lang.String
getCountry()
java.lang.String
getLanguage()
java.util.Locale
getLocale()
int
getMaxFps()
Gets the max fps.void
setCountry(java.lang.String country)
void
setExitOnError(boolean exit)
void
setLanguage(java.lang.String language)
void
setMaxFps(int maxFps)
Sets the max fps.void
setShowGameMetrics(boolean showGameMetrics)
boolean
showGameMetrics()
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()