public class Player extends GameObject
Modifier and Type | Field and Description |
---|---|
java.util.List<Beaver> |
beavers
The list of Beavers owned by this Player.
|
int |
branchesToBuildLodge
How many branches are required to build a lodge for this Player.
|
java.lang.String |
clientType
What type of client this is, e.g.
|
java.util.List<Tile> |
lodges
A list of Tiles that contain lodges owned by this player.
|
boolean |
lost
If the player lost the game or not.
|
java.lang.String |
name
The name of the player.
|
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.
|
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.
|
logs
log
public java.util.List<Beaver> beavers
public int branchesToBuildLodge
public java.lang.String clientType
public java.util.List<Tile> lodges
public boolean lost
public java.lang.String name
public Player opponent
public java.lang.String reasonLost
public java.lang.String reasonWon
public double timeRemaining
public boolean won
© 2020 MST ACM SIG-GAME