yab.agent.object
Class RCRObject
java.lang.Object
|
+--yab.agent.object.RCRObject
- Direct Known Subclasses:
- RealObject, VirtualObject
- public abstract class RCRObject
- extends Object
object
protected final BaseRCRObject object
world
public final DisasterSpace world
id
public final int id
RCRObject
public RCRObject(int id,
BaseRCRObject object,
DisasterSpace world)
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)