public class Player extends GameObject
Modifier and Type | Field and Description |
---|---|
int |
bribesRemaining
How many bribes this player has remaining to use during their turn.
|
java.util.List<Building> |
buildings
All the buildings owned by this player.
|
java.lang.String |
clientType
What type of client this is, e.g.
|
java.util.List<FireDepartment> |
fireDepartments
All the FireDepartments owned by this player.
|
Warehouse |
headquarters
The Warehouse that serves as this player's headquarters and has extra health.
|
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.util.List<PoliceDepartment> |
policeDepartments
All the PoliceDepartments owned by this player.
|
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.
|
java.util.List<Warehouse> |
warehouses
All the warehouses owned by this player.
|
java.util.List<WeatherStation> |
weatherStations
All the WeatherStations owned by this player.
|
boolean |
won
If the player won the game or not.
|
logs
log
public int bribesRemaining
public java.util.List<Building> buildings
public java.lang.String clientType
public java.util.List<FireDepartment> fireDepartments
public Warehouse headquarters
public boolean lost
public java.lang.String name
public Player opponent
public java.util.List<PoliceDepartment> policeDepartments
public java.lang.String reasonLost
public java.lang.String reasonWon
public double timeRemaining
public java.util.List<Warehouse> warehouses
public java.util.List<WeatherStation> weatherStations
public boolean won
© 2020 MST ACM SIG-GAME