Index
All Classes and Interfaces|All Packages|Constant Field Values
G
- GeneralPlayer<T> - Class in cs171a2
-
An abstract class representing a general player.
- GeneralPlayer() - Constructor for class cs171a2.GeneralPlayer
-
Creates a new GeneralPlayer with a default name.
- GeneralPlayer(String) - Constructor for class cs171a2.GeneralPlayer
-
Creates a new GeneralPlayer with the given name.
- getHand() - Method in class cs171a2.CardPlayer
-
Gets the player's hand of cards.
- getPlaces() - Method in class cs171a2.CardTable
-
Returns the identifiers of the cards on places 1, 2, 3, and 4 on the table (in that same order).
- getPlaces() - Method in interface cs171a2.Table
-
Returns the identifiers of the cards on places 1, 2, 3, and 4 on the table (in that same order).
- getPoints() - Method in class cs171a2.CardPlayer
-
Gets the number of points the player has earned.
- getRank() - Method in class cs171a2.Card
-
Gets the rank of the card.
- getSuit() - Method in class cs171a2.Card
-
Gets the suit of the card.
All Classes and Interfaces|All Packages|Constant Field Values