yab.agent.object
Class Humanoid

java.lang.Object
  |
  +--yab.agent.object.RCRObject
        |
        +--yab.agent.object.RealObject
              |
              +--yab.agent.object.MovingObject
                    |
                    +--yab.agent.object.Humanoid
Direct Known Subclasses:
AmbulanceTeam, Car, Civilian, FireBrigade, PoliceForce

public abstract class Humanoid
extends MovingObject


Field Summary
 
Fields inherited from class yab.agent.object.RCRObject
id, object, world
 
Constructor Summary
Humanoid(int id, BaseHumanoid object, DisasterSpace world)
           
 
Method Summary
 int buriedness()
           
 int damage()
           
 int hp()
           
 
Methods inherited from class yab.agent.object.MovingObject
motionlessPosition, position, positionExtra, x, y
 
Methods inherited from class yab.agent.object.RealObject
direction, distance, hasBeenSeen
 
Methods inherited from class yab.agent.object.RCRObject
hashCode, produce, setProperty, setProperty, setTime, time, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Humanoid

public Humanoid(int id,
                BaseHumanoid object,
                DisasterSpace world)
Method Detail

hp

public int hp()

damage

public int damage()

buriedness

public int buriedness()