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.
See Also:
ConfigurationGroup, Configuration.add(ConfigurationGroup), Configuration.getConfigurationGroup(Class)
  • Constructor Details

  • Method Details

    • client

      public ClientConfiguration client()
      Gets the basic game client configuration like update-rate or localization.
      Returns:
      The game client configuration.
    • debug

      public DebugConfiguration debug()
      Gets the configuration group with all default debugging settings.
      Returns:
      The debugging configuration.
    • graphics

      public GraphicConfiguration 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

      public InputConfiguration input()
      Gets the configuration group with all default input settings.
      Returns:
      The input configuration.
    • sound

      public SoundConfiguration sound()
      Gets the configuration group with all default sound settings.
      Returns:
      The sound configuration.