public class Player extends GameObject
Modifier and Type | Field and Description |
---|---|
java.lang.String |
clientType
What type of client this is, e.g.
|
java.lang.String |
color
The color (side) of 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.lang.String clientType
public java.lang.String color
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