Uses of Class
project2.Card

  • Uses of Card in project2

    Methods in project2 that return Card
    Modifier and Type
    Method
    Description
    Deck.dealCard()
    dealCard -- deals the top card from the deck and decreases the number of cards in the deck by 1
    Methods in project2 with parameters of type Card
    Modifier and Type
    Method
    Description
    boolean
    Card.isLowerThan(Card otherCard)
    Returns whether the value is less than the passed in card's value