|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectbe.saltwater.jaqel.level.Identity
Created to contain CreatureSharedData when a game/level has ended and everything is destroyed. An identity is saved to a file by the user as a kind of "user profile".
CreatureSharedData| Constructor Summary | |
Identity(CreatureSharedData points,
java.lang.String heroType,
java.lang.String name,
int currentGameLevel)
|
|
| Method Summary | |
CreatureSharedData |
getCreatureSharedData()
Returns the CreatureSharedData object of this identity. |
int |
getCurrentLevel()
Returns the name of the level the player has last reached. |
java.lang.String |
getHeroType()
|
java.lang.String |
getName()
Returns the name of the hero object this identity contains. |
void |
setCurrentLevel(int currentGameLevel)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Identity(CreatureSharedData points,
java.lang.String heroType,
java.lang.String name,
int currentGameLevel)
| Method Detail |
public CreatureSharedData getCreatureSharedData()
public java.lang.String getName()
public java.lang.String getHeroType()
public int getCurrentLevel()
public void setCurrentLevel(int currentGameLevel)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||