Modifier and Type | Method and Description |
---|---|
Team |
Player.getTeam()
A accessor that returns the players team.
|
static Team |
Team.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Team[] |
Team.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Player.setTeam(Team team)
A mutator that sets the team of the player.
|
Constructor and Description |
---|
Player(Team team,
java.util.ArrayList<Card> hand)
A Constructor that sets the players team and hand, while setting
dealer to false.
|