Package fr.formiko.kokcinelo.model
Class KOptionsMap
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,String>
fr.formiko.kokcinelo.tools.OptionsMap
fr.formiko.kokcinelo.model.KOptionsMap
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,
String>
Tool class to manage options.
- Since:
- 2.4
- Version:
- 2.4
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
float
int
int
float
void
setDisplayMode
(int value) void
setMaxFps
(int value) void
setMusicVolume
(float value) void
setScreenHeight
(int value) void
setScreenWidth
(int value) void
setSoundVolume
(float value) Methods inherited from class fr.formiko.kokcinelo.tools.OptionsMap
getBoolean, getFloat, getInt, putBoolean, putFloat, putInt
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Constructor Details
-
KOptionsMap
-
KOptionsMap
public KOptionsMap()
-
-
Method Details
-
getMusicVolume
public float getMusicVolume() -
setMusicVolume
public void setMusicVolume(float value) -
getSoundVolume
public float getSoundVolume() -
setSoundVolume
public void setSoundVolume(float value) -
getDisplayMode
public int getDisplayMode() -
setDisplayMode
public void setDisplayMode(int value) -
getListOfDisplayMode
-
getMaxFps
public int getMaxFps() -
setMaxFps
public void setMaxFps(int value) -
getScreenWidth
public int getScreenWidth() -
setScreenWidth
public void setScreenWidth(int value) -
getScreenHeight
public int getScreenHeight() -
setScreenHeight
public void setScreenHeight(int value)
-