fate.server
Class PlayerState


java.lang.Object

  |

  +--fate.server.PlayerState


public class PlayerState
extends java.lang.Object
implements java.io.Serializable

Stores player's current state in the virtual world.

See Also:
Serialized Form

Field Summary
 boolean bConnected
          True if user is connected
 int idGalaxy
          ID number of the galaxy.
 int idPlanetoid
          ID number of the planetoid.
 int idSolarSystem
          ID number of the solar system.
 int idViewingObject
          The id of the object that is being focused on
static int MAIN_VIEW_GALAXY
           
static int MAIN_VIEW_PLANETOID
           
static int MAIN_VIEW_SOLARSYSTEM
           
 int viewType
          Type of main view we want to switch to
 
Constructor Summary
PlayerState()
          Creates new PlayerState
 
Method Summary
 void reset()
          Resets state back to defaults
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAIN_VIEW_PLANETOID


public static final int MAIN_VIEW_PLANETOID

MAIN_VIEW_SOLARSYSTEM


public static final int MAIN_VIEW_SOLARSYSTEM

MAIN_VIEW_GALAXY


public static final int MAIN_VIEW_GALAXY

bConnected


public boolean bConnected
True if user is connected

viewType


public int viewType
Type of main view we want to switch to

idViewingObject


public int idViewingObject
The id of the object that is being focused on

idPlanetoid


public int idPlanetoid
ID number of the planetoid.

idSolarSystem


public int idSolarSystem
ID number of the solar system.

idGalaxy


public int idGalaxy
ID number of the galaxy.
Constructor Detail

PlayerState


public PlayerState()
Creates new PlayerState
Method Detail

reset


public void reset()
Resets state back to defaults