|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectctf.evaluation.simulator.data.Player
public class Player
Represents an individual player
| Nested Class Summary | |
|---|---|
static class |
Player.State
|
| Field Summary | |
|---|---|
static float |
RADIUS
|
static int |
TOKENS
|
| Constructor Summary | |
|---|---|
Player(java.lang.String[] tokens)
|
|
| Method Summary | |
|---|---|
double |
heading()
|
Point |
location()
|
double |
speed()
|
Player.State |
state()
|
java.lang.String |
toString()
|
boolean |
visible()
Can this object be seen? |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int TOKENS
public static final float RADIUS
| Constructor Detail |
|---|
public Player(java.lang.String[] tokens)
throws ProtocolError
ProtocolError| Method Detail |
|---|
public Player.State state()
public Point location()
location in interface HasLocationpublic double heading()
public double speed()
public boolean visible()
HasVisibility
visible in interface HasVisibilitypublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||