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 TypeMethodDescriptionintintfloatintintfloatvoidsetDisplayMode(int value) voidsetMaxFps(int value) voidsetMusicVolume(float value) voidsetScreenHeight(int value) voidsetScreenWidth(int value) voidsetSoundVolume(float value) Methods inherited from class fr.formiko.kokcinelo.tools.OptionsMap
getBoolean, getFloat, getInt, putBoolean, putFloat, putIntMethods 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, valuesMethods 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)
-