Package | Description |
---|---|
com.jonathan.survivor.managers | |
com.jonathan.survivor.screens |
Modifier and Type | Method and Description |
---|---|
Profile |
ProfileManager.getCurrentProfile()
Returns the current profile being used by the user.
|
Profile |
ProfileManager.getProfile(int profileId)
Gets the profile with the given id, ranging from 0 to MAX_PROFILES-1.
|
Profile |
ProfileManager.getProfile(int profileId,
boolean createNew)
Gets the profile with the given id, ranging from 0 to MAX_PROFILES-1.
|
Modifier and Type | Method and Description |
---|---|
void |
ProfileManager.saveProfile(Profile profile)
Saves the profile to the hard drive.
|
Constructor and Description |
---|
GameObjectManager(Profile profile)
Accepts the player's profile to re-create some GameObjects using save data.
|
Constructor and Description |
---|
GameScreen(com.jonathan.survivor.Survivor game,
Profile profile)
Creates a game screen.
|