Class SettingsInfoParser

java.lang.Object
com.toxicrain.rainengine.core.BaseInstanceable<SettingsInfoParser>
com.toxicrain.rainengine.core.json.SettingsInfoParser

public class SettingsInfoParser extends BaseInstanceable<SettingsInfoParser>
SettingsInfoParser dynamically loads and manages settings.json file
  • Method Details

    • getInstance

      public static SettingsInfoParser getInstance()
    • modifySetting

      public void modifySetting(String key, Object newValue)
    • getBoolean

      public boolean getBoolean(String key, boolean defaultValue)
    • getInt

      public int getInt(String key, int defaultValue)
    • getFloat

      public float getFloat(String key, float defaultValue)
    • getString

      public String getString(String key, String defaultValue)
    • getVsync

      public boolean getVsync()
    • getWindowHeight

      public float getWindowHeight()
    • getWindowWidth

      public float getWindowWidth()
    • getFOV

      public float getFOV()
    • getLanguage

      public String getLanguage()