public class Player extends GameObject
| Modifier and Type | Field and Description |
|---|---|
BroodMother |
broodMother
This player's BroodMother.
|
java.lang.String |
clientType
What type of client this is, e.g.
|
boolean |
lost
If the player lost the game or not.
|
int |
maxSpiderlings
The max number of Spiderlings players can spawn.
|
java.lang.String |
name
The name of the player.
|
int |
numberOfNestsControlled
The number of nests this player controls.
|
Player |
opponent
This player's opponent in the game.
|
java.lang.String |
reasonLost
The reason why the player lost the game.
|
java.lang.String |
reasonWon
The reason why the player won the game.
|
java.util.List<Spider> |
spiders
All the Spiders owned by this player.
|
double |
timeRemaining
The amount of time (in ns) remaining for this AI to send commands.
|
boolean |
won
If the player won the game or not.
|
logslogpublic BroodMother broodMother
public java.lang.String clientType
public boolean lost
public int maxSpiderlings
public java.lang.String name
public int numberOfNestsControlled
public Player opponent
public java.lang.String reasonLost
public java.lang.String reasonWon
public java.util.List<Spider> spiders
public double timeRemaining
public boolean won
© 2020 MST ACM SIG-GAME