|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.java.dev.joode.WorldObject
public abstract class WorldObject
Superclass of all world objects. Provides a data variable for users specific data.
Created on 14-Oct-2005
| Field Summary | |
|---|---|
java.lang.Object |
data
Storage field for user data |
int |
tag
do not use, used in InternalStepIsland methods to work out the islands |
World |
world
The world this object belongs to. |
| Constructor Summary | |
|---|---|
protected |
WorldObject()
used for cloning |
|
WorldObject(World world)
|
| Method Summary | |
|---|---|
abstract void |
destroy()
|
protected WorldObject |
partialCloneWorldObject(WorldObject partialClone,
ClonedReferences util)
helper method for subclasses that copies the member variables# to the passed in object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.java.dev.joode.SimState |
|---|
cloneState |
| Field Detail |
|---|
public World world
public java.lang.Object data
public int tag
| Constructor Detail |
|---|
public WorldObject(World world)
protected WorldObject()
| Method Detail |
|---|
public abstract void destroy()
protected WorldObject partialCloneWorldObject(WorldObject partialClone,
ClonedReferences util)
partialClone - util -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||