fate.world
Class Player


java.lang.Object

  |

  +--fate.world.WorldObject

        |

        +--fate.world.Player


public class Player
extends WorldObject
implements java.io.Serializable

Represents a Player in the world. Players can own SpaceStructure objects, GroundStructure objects, and more.

See Also:
Serialized Form

Field Summary
 MapWorldObject mapShips
          All the ships this player owns
 MapWorldObject mapStructures
          All the structures this player owns
 
Fields inherited from class fate.world.WorldObject
id, name, parent
 
Constructor Summary
Player()
          Creates new Player
 
Method Summary
 Player cloneForClient()
          Creates a clone suitable for sending from server to client
 
Methods inherited from class fate.world.WorldObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mapShips


public MapWorldObject mapShips
All the ships this player owns

mapStructures


public MapWorldObject mapStructures
All the structures this player owns
Constructor Detail

Player


public Player()
Creates new Player
Method Detail

cloneForClient


public Player cloneForClient()
Creates a clone suitable for sending from server to client