fate.world
Class WorldObject


java.lang.Object

  |

  +--fate.world.WorldObject

Direct Known Subclasses:
GroundStructure, OrbitingBody, Player

public class WorldObject
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

Base class for any object in the Fate "World".

See Also:
Serialized Form

Field Summary
 int id
          World object id.
 java.lang.String name
          Display name of object.
 WorldObject parent
          Parent object.
 
Constructor Summary
WorldObject()
          Creates new WorldObject
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id


public int id
World object id. A globally-unique identifier.

parent


public WorldObject parent
Parent object. Not a mandatory field.

name


public java.lang.String name
Display name of object.
Constructor Detail

WorldObject


public WorldObject()
Creates new WorldObject
Method Detail

toString


public java.lang.String toString()
Overrides:
toString in class java.lang.Object