mud.common.objects
Class Monster

java.lang.Object
  extended by mud.common.room.IdObject
      extended by mud.common.objects.GameObject
          extended by mud.common.objects.Creature
              extended by mud.common.objects.Monster

public class Monster
extends Creature


Nested Class Summary
 
Nested classes/interfaces inherited from class mud.common.objects.Creature
Creature.Direction
 
Constructor Summary
Monster(int id, ImageRect image, int hp, int atk, int def)
           
 
Method Summary
 int getAttack()
           
 int getDefense()
           
 
Methods inherited from class mud.common.objects.Creature
destroy, getHp, getInventory, setHp
 
Methods inherited from class mud.common.objects.GameObject
contributeTileActions, dispose, executeTileAction, getActivity, getDirection, getImage, getName, getRoom, getTile, getX, getY, setActivity, setDirection, setPos, setRoom, toXml
 
Methods inherited from class mud.common.room.IdObject
getId
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Monster

public Monster(int id,
               ImageRect image,
               int hp,
               int atk,
               int def)
Method Detail

getAttack

public int getAttack()
Specified by:
getAttack in class Creature

getDefense

public int getDefense()
Specified by:
getDefense in class Creature