ctf.evaluation.simulator.data
Class State

java.lang.Object
  extended by ctf.evaluation.simulator.data.State

public class State
extends java.lang.Object

Represents the current state of the game


Field Summary
static int TOKENS
           
 
Constructor Summary
State(java.lang.String[] tokens)
           
 
Method Summary
 float rawTime()
          What time was reported (could be different from game time)?
 Team team(Side side)
           
 float time()
          What's the current game time (in seconds)?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TOKENS

public static final int TOKENS
See Also:
Constant Field Values
Constructor Detail

State

public State(java.lang.String[] tokens)
      throws ProtocolError
Throws:
ProtocolError
Method Detail

team

public Team team(Side side)

time

public float time()
What's the current game time (in seconds)?


rawTime

public float rawTime()
What time was reported (could be different from game time)?