Uses of Class
cs171a2.Card
-
Uses of Card in cs171a2
Modifier and TypeInterfaceDescriptioninterfaceTable<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 TypeMethodDescriptionvoidCardTable.addCardToPlace(Card card) Adds a card to the current place on the table.voidAdds a card to the player's hand.