|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jadv.basic.SavedObject | +--org.jadv.basic.JAdvObject | +--org.jadv.basic.Living
A living implements the things, that are equal among all Livings.
Field Summary | |
int |
__HP_GEN_TMP
|
int |
__SP_GEN_TMP
|
int |
_BE
|
int |
_dAT
|
int |
_dPA
|
int |
_HP
|
int |
_HP_GEN
|
int |
_HP_MAX
|
int |
_RS
|
int |
_SP
|
int |
_SP_GEN
|
int |
_SP_MAX
|
WeaponStats[] |
_weaponStats
|
Fields inherited from class org.jadv.basic.JAdvObject |
_children, _description, _HeartBeatTime, _Size |
Fields inherited from class org.jadv.basic.SavedObject |
ObjMan |
Constructor Summary | |
Living()
Constructor of a Living |
Method Summary | |
void |
die()
The Living should die now! |
int |
getAT(int weapon)
Get the AT value for a weapon |
int |
getPA(int weapon)
Get the PA value for a weapon |
void |
HeartBeat()
HeartBeat, that is used to increase the HP / SP Points! |
void |
incLevel()
incLevel Increases the Level. |
void |
init(java.util.HashMap attribs)
initialize the object |
void |
modifyHP(int dHP)
Modify the HP value |
void |
modifySP(int dSP)
Modify the SP value |
void |
save()
save the object |
Methods inherited from class org.jadv.basic.JAdvObject |
addChild, canMoveIn, canMoveOut, create, destroyObject, disableHeartBeat, enableHeartBeat, getDescription, getMasterParentID, getOldParentID, getParentID, getSight, getSize, removeChild, reset, sendPlayerEvent, setDescription, setMasterParentID_DEEP, setMasterParentID, setOldParentID, setParentID, setSize, setTimer, timer |
Methods inherited from class org.jadv.basic.SavedObject |
addEvent, canBeSwapped, createAttributes, createObject, createObject, createUUID, findObject, getAttribute, getAttributes, getAutoStart, getDeveloper, getId, getIntAttribute, getIntAttribute, getName, getNext, getPrev, hexFormat, isChanged, isValid, loadObject, markChanged, markNotChanged, mergeAttributes, removeFromList, replaceObject, replaceObject, saveObject, setAttribute, setId, setIntAttribute, setName, storeAfter, swapOut |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int _HP
public int _HP_MAX
public int _HP_GEN
public int _SP
public int _SP_MAX
public int _SP_GEN
public int __HP_GEN_TMP
public int __SP_GEN_TMP
public int _RS
public int _BE
public int _dAT
public int _dPA
public WeaponStats[] _weaponStats
Constructor Detail |
public Living()
Method Detail |
public void die()
public int getAT(int weapon)
weapon
- Which weapon do you want?
public int getPA(int weapon)
weapon
- Which weapon do you want?
public void HeartBeat()
HeartBeat
in class JAdvObject
JAdvObject.HeartBeat()
public void incLevel()
public void init(java.util.HashMap attribs)
init
in class JAdvObject
attribs
- - the attributes of the objectpublic void modifyHP(int dHP)
dHP
- - value to change the HP!public void modifySP(int dSP)
dSP
- - value to change the HP!public void save()
save
in class JAdvObject
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |