|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.adom.jade.startup.chargen.CharacterData
Collects all the data from all the choices the player can make during character generation.
| Constructor Summary | |
|---|---|
CharacterData()
|
|
| Method Summary | |
|---|---|
int |
getAttribute(int index)
Liefert einen Attributwert zurück. |
Gender |
getGender()
Returns the gender of the PC. |
java.lang.String |
getName()
Returns the name of the PC. |
Race |
getRace()
Returns the chosen PC race. |
void |
setAttribute(int index,
int value)
Sets an attribute value. |
void |
setGender(Gender theGender)
Sets the gender of the PC. |
void |
setName(java.lang.String theName)
Sets the name of the PC. |
void |
setRace(Race theRace)
Sets the race of the PC. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CharacterData()
| Method Detail |
|---|
public void setRace(Race theRace)
theRace - the selected racepublic Race getRace()
public void setGender(Gender theGender)
theGender - the gender of the PCpublic Gender getGender()
public void setName(java.lang.String theName)
theName - the name of the PCpublic java.lang.String getName()
public void setAttribute(int index,
int value)
index - the index of the attribute valuevalue - the new value of the attributepublic int getAttribute(int index)
index - the index of the attribute value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||