Uses of Class
cs171a2.Card
-
Uses of Card in cs171a2
Modifier and TypeInterfaceDescriptioninterface
Table<T extends Card,
E extends GeneralPlayer> An interface representing a table where cards are played and players can occupy places.Modifier and TypeMethodDescriptionCardPlayer.play()
Gets the top card from the player's hand and removes it from the hand.Modifier and TypeMethodDescriptionvoid
CardTable.addCardToPlace
(Card card) Adds a card to the current place on the table.void
Adds a card to the player's hand.