efficom.runningjoe.user
Class Profile
java.lang.Object
efficom.runningjoe.user.Profile
- All Implemented Interfaces:
- com.badlogic.gdx.utils.Json.Serializable
public class Profile
- extends java.lang.Object
- implements com.badlogic.gdx.utils.Json.Serializable
The player's profile.
This class is used to store the game progress, and is persisted to the file
system when the game exists.
- See Also:
ProfileManager
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Profile
public Profile()
isSoundEnabled
public boolean isSoundEnabled()
setSoundEnabled
public void setSoundEnabled(boolean isSoundEnabled)
isMusicEnabled
public boolean isMusicEnabled()
setMusicEnabled
public void setMusicEnabled(boolean isMusicEnabled)
getSoundVolume
public float getSoundVolume()
setSoundVolume
public void setSoundVolume(float soundVolume)
getMusicVolume
public float getMusicVolume()
setMusicVolume
public void setMusicVolume(float musicVolume)
read
public void read(com.badlogic.gdx.utils.Json json,
com.badlogic.gdx.utils.OrderedMap<java.lang.String,java.lang.Object> jsonData)
- Specified by:
read
in interface com.badlogic.gdx.utils.Json.Serializable
write
public void write(com.badlogic.gdx.utils.Json json)
- Specified by:
write
in interface com.badlogic.gdx.utils.Json.Serializable