Class Settings
java.lang.Object
de.ellpeck.rockbottom.api.data.settings.Settings
- All Implemented Interfaces:
IJsonSettings
-
Field Summary
FieldsModifier and TypeFieldDescriptionintbooleanbooleanstatic final intbooleanintfloatbooleanstatic final Keybindstatic final Keybindstatic final Keybindstatic final Keybindstatic final Keybindstatic final Keybindstatic final Keybindstatic final Keybindstatic final Keybindstatic final Keybindstatic final Keybindstatic final Keybindstatic final Keybindstatic final Keybindstatic final Keybindstatic final Keybindstatic final Keybindstatic final Keybindstatic final Keybindstatic final Keybindstatic final Keybindstatic final Keybindstatic final Keybind[]floatfloatbooleanfloatfloat -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()getSettingsFile(IDataManager manager) voidload(com.google.gson.JsonObject object) voidsave(com.google.gson.JsonObject object)
-
Field Details
-
KEY_PLACE
-
KEY_DESTROY
-
KEY_PICKUP
-
KEY_GUI_ACTION_1
-
KEY_GUI_ACTION_2
-
KEY_INVENTORY
-
KEY_COMPENDIUM
-
KEY_MENU
-
KEY_LEFT
-
KEY_RIGHT
-
KEY_UP
-
KEY_DOWN
-
KEY_JUMP
-
KEY_BACKGROUND
-
KEY_CHAT
-
KEY_COMMAND
-
KEY_ADVANCED_INFO
-
KEY_SCREENSHOT
-
KEY_PLAYER_LIST
-
KEY_TOGGLE_CAMERA_MODE
-
KEY_ZOOM_OUT
-
KEY_ZOOM_IN
-
KEYS_ITEM_SELECTION
-
DEFAULT_GUI_COLOR
public static final int DEFAULT_GUI_COLOR- See Also:
-
autosaveIntervalSeconds
public int autosaveIntervalSeconds -
textSpeed
public float textSpeed -
guiScale
public float guiScale -
renderScale
public float renderScale -
guiColor
public int guiColor -
hardwareCursor
public boolean hardwareCursor -
cursorInfos
public boolean cursorInfos -
fullscreen
public boolean fullscreen -
smoothLighting
public boolean smoothLighting -
musicVolume
public float musicVolume -
soundVolume
public float soundVolume -
lastServerIp
-
currentLocale
-
betaTextDisplayed
public boolean betaTextDisplayed
-
-
Constructor Details
-
Settings
public Settings()
-
-
Method Details
-
load
public void load(com.google.gson.JsonObject object) - Specified by:
loadin interfaceIJsonSettings
-
save
public void save(com.google.gson.JsonObject object) - Specified by:
savein interfaceIJsonSettings
-
getSettingsFile
- Specified by:
getSettingsFilein interfaceIJsonSettings
-
getName
- Specified by:
getNamein interfaceIJsonSettings
-