Uses of Class
cs171a2.Card

  • Uses of Card in cs171a2

    Classes in cs171a2 with type parameters of type Card
    Modifier and Type
    Interface
    Description
    interface 
    Table<T extends Card,E extends GeneralPlayer>
    An interface representing a table where cards are played and players can occupy places.
    Fields in cs171a2 with type parameters of type Card
    Modifier and Type
    Field
    Description
    CardPlayer.bank
    the player's bank of cards.
    Methods in cs171a2 that return Card
    Modifier and Type
    Method
    Description
    CardPlayer.play()
    Gets the top card from the player's hand and removes it from the hand.
    Methods in cs171a2 that return types with arguments of type Card
    Modifier and Type
    Method
    Description
    CardPlayer.getHand()
    Gets the player's hand of cards.
    Methods in cs171a2 with parameters of type Card
    Modifier and Type
    Method
    Description
    void
    CardTable.addCardToPlace(Card card)
    Adds a card to the current place on the table.
    void
    CardPlayer.addToHand(Card card)
    Adds a card to the player's hand.