Index
All Classes and Interfaces|All Packages|Constant Field Values
C
- Card - Class in cs171a2
-
A class that represents a playing card with a rank and suit.
- Card(int, int) - Constructor for class cs171a2.Card
-
Creates a new Card with the given suit and rank.
- CardPlayer - Class in cs171a2
-
A class that represents a card player.
- CardPlayer() - Constructor for class cs171a2.CardPlayer
-
Creates a new card player with a default name.
- CardPlayer(String) - Constructor for class cs171a2.CardPlayer
-
Creates a new card player with the given name.
- CardTable - Class in cs171a2
-
This class represents a table where a game is being played.
- CardTable() - Constructor for class cs171a2.CardTable
-
Constructs a CardTable object.
- checkPlaces(CardPlayer) - Method in class cs171a2.CardTable
-
Checks if the previous card played by a player matches the rank of any card on the table.
- checkPlaces(E) - Method in interface cs171a2.Table
-
Checks the places on the table to see if any player occupies a place and removes any cards that they played.
- cs171a2 - package cs171a2
All Classes and Interfaces|All Packages|Constant Field Values