|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object spellcast.beings.Being spellcast.beings.Monster
public abstract class Monster
Field Summary |
---|
Fields inherited from class spellcast.beings.Being |
---|
ACTIVE_PROP |
Constructor Summary | |
---|---|
Monster()
TODO: Leave this in until monsters are added properly. |
|
Monster(java.lang.String name,
Gender gender,
int maxHitPoints)
|
Method Summary | |
---|---|
IWizard |
getOwner()
Return the IWizard who is the owner of this
IMonster . |
static Monster |
newNull()
Return a Null Monster . |
Methods inherited from class spellcast.beings.Being |
---|
addEnchantment, addPropertyChangeListener, getEnchantments, getGender, getHitPoints, getId, getLeavesCorpse, getMaxHitPoints, getName, getPropertySupport, isActive, isAlive, isNull, removeEnchantment, removePropertyChangeListener, setActive, setAlive, setGender, setHitPoints, setId, setLeavesCorpse, setMaxHitPoints, setName, setNull, shouldDie, takeDamage, updateEnchantments |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface spellcast.beings.IBeing |
---|
addEnchantment, getEnchantments, getGender, getHitPoints, getId, getLeavesCorpse, getMaxHitPoints, getName, isActive, isAlive, removeEnchantment, setActive, setAlive, setGender, setHitPoints, setId, setLeavesCorpse, setMaxHitPoints, setName, shouldDie, takeDamage, updateEnchantments |
Constructor Detail |
---|
public Monster()
public Monster(java.lang.String name, Gender gender, int maxHitPoints)
Method Detail |
---|
public IWizard getOwner()
IWizard
who is the owner of this
IMonster
.
getOwner
in interface IMonster
IWizard
who is the owner of this
IMonster
.public static Monster newNull()
Monster
.
Monster
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |