|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--net.sourceforge.worldsaver.rp.RpBase
|
+--net.sourceforge.worldsaver.rp.Person
|
+--net.sourceforge.worldsaver.rp.Hero
Represents a Hero.
| Fields inherited from interface net.sourceforge.worldsaver.util.MiscUtils |
CONSOLE_WIDTH, NEWLINE, RANDOM |
| Constructor Summary | |
Hero(java.util.HashMap map)
Standard constructor. |
|
Hero(RpBase father,
java.lang.String name)
Standard constructor. |
|
| Method Summary | |
RpBase |
copy(boolean childs,
boolean full)
Returns a new object with the same values as this object. |
java.lang.String |
getSaveableString()
Returns a ready-to-go saveable String. |
| Methods inherited from class net.sourceforge.worldsaver.rp.Person |
addPossession, getPossessions, getReferencesRight |
| Methods inherited from class net.sourceforge.worldsaver.rp.RpBase |
addChild, addDescription, getChilds, getDescription, getFather, getID, getName, setDescription, setFather, setName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Hero(RpBase father,
java.lang.String name)
RpBase.RpBase(net.sourceforge.worldsaver.rp.RpBase, java.lang.String),
Person.Person(net.sourceforge.worldsaver.rp.RpBase, java.lang.String)public Hero(java.util.HashMap map)
RpBase.RpBase(net.sourceforge.worldsaver.rp.RpBase, java.lang.String),
Person.Person(net.sourceforge.worldsaver.rp.RpBase, java.lang.String)| Method Detail |
public java.lang.String getSaveableString()
throws java.io.IOException
getSaveableString in class Person
public RpBase copy(boolean childs,
boolean full)
RpBasecopy in class RpBasenet.sourceforge.worldsaver.rp.RpBasechilds - true means copy the childs, toofull - true means copy the childs of the childs etc., too
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||