yab.agent.object
Class MovingObject

java.lang.Object
  |
  +--yab.agent.object.RCRObject
        |
        +--yab.agent.object.RealObject
              |
              +--yab.agent.object.MovingObject
Direct Known Subclasses:
Humanoid

public abstract class MovingObject
extends RealObject


Field Summary
 
Fields inherited from class yab.agent.object.RCRObject
id, object, world
 
Constructor Summary
MovingObject(int id, BaseMovingObject object, DisasterSpace world)
           
 
Method Summary
 MotionlessObject motionlessPosition()
           
 RealObject position()
           
 int positionExtra()
           
 int x()
           
 int 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

MovingObject

public MovingObject(int id,
                    BaseMovingObject object,
                    DisasterSpace world)
Method Detail

x

public int x()
Specified by:
x in class RealObject

y

public int y()
Specified by:
y in class RealObject

motionlessPosition

public MotionlessObject motionlessPosition()
Specified by:
motionlessPosition in class RealObject

position

public RealObject position()

positionExtra

public int positionExtra()