Class GameConfiguration
java.lang.Object
de.gurkenlabs.litiengine.configuration.Configuration
de.gurkenlabs.litiengine.configuration.GameConfiguration
public final class GameConfiguration
extends Configuration
This class contains all default
ConfigurationGroups
that are provided by the LITIENGINE.
Additionally, it can be used to register and manage custom settings that are specific to your game.Constructor Summary
Constructors Constructor Description GameConfiguration(ConfigurationGroup... groups)
Method Summary
Modifier and Type Method Description ClientConfiguration
client()
Gets the basic game client configuration like update-rate or localization.DebugConfiguration
debug()
Gets the configuration group with all default debugging settings.GraphicConfiguration
graphics()
Gets the configuration group with all default graphics settings.InputConfiguration
input()
Gets the configuration group with all default input settings.SoundConfiguration
sound()
Gets the configuration group with all default sound settings.Methods inherited from class de.gurkenlabs.litiengine.configuration.Configuration
add, getConfigurationGroup, getConfigurationGroup, getConfigurationGroups, getFileName, load, save
Constructor Details
Method Details
client
Gets the basic game client configuration like update-rate or localization.- Returns:
- The game client configuration.
debug
Gets the configuration group with all default debugging settings.- Returns:
- The debugging configuration.
graphics
Gets the configuration group with all default graphics settings. Elements in this group will allow you to adjust the game's rendering behavior.- Returns:
- The graphics configuration.
input
Gets the configuration group with all default input settings.- Returns:
- The input configuration.
sound
Gets the configuration group with all default sound settings.- Returns:
- The sound configuration.