yab.agent.object
Class RCRObject

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

public abstract class RCRObject
extends Object


Field Summary
 int id
           
protected  BaseRCRObject object
           
 DisasterSpace world
           
 
Constructor Summary
RCRObject(int id, BaseRCRObject object, DisasterSpace world)
           
 
Method Summary
 int hashCode()
           
static RCRObject produce(int type, int id, DisasterSpace ds)
           
 void setProperty(int type, int[] value)
           
 void setProperty(PropertyElement[] properties)
           
 void setTime(int time)
           
 int time()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

object

protected final BaseRCRObject object

world

public final DisasterSpace world

id

public final int id
Constructor Detail

RCRObject

public RCRObject(int id,
                 BaseRCRObject object,
                 DisasterSpace world)
Method Detail

setProperty

public void setProperty(PropertyElement[] properties)

setProperty

public void setProperty(int type,
                        int[] value)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

time

public int time()

setTime

public void setTime(int time)

toString

public String toString()
Overrides:
toString in class Object

produce

public static RCRObject produce(int type,
                                int id,
                                DisasterSpace ds)