public class Player extends GameObject
Modifier and Type | Field and Description |
---|---|
java.lang.String |
clientType
What type of client this is, e.g.
|
java.util.List<Cowboy> |
cowboys
Every Cowboy owned by this Player.
|
int |
kills
How many enemy Cowboys this player's team has killed.
|
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.
|
int |
rowdiness
How rowdy their team is.
|
int |
score
How many times their team has played a piano.
|
int |
siesta
0 when not having a team siesta.
|
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.
|
YoungGun |
youngGun
The YoungGun this Player uses to call in new Cowboys.
|
logs
log
public java.lang.String clientType
public java.util.List<Cowboy> cowboys
public int kills
public boolean lost
public java.lang.String name
public Player opponent
public java.lang.String reasonLost
public java.lang.String reasonWon
public int rowdiness
public int score
public int siesta
public double timeRemaining
public boolean won
public YoungGun youngGun
© 2020 MST ACM SIG-GAME