35 auto getSum() const ->
int;
46 auto
setCards(const std::vector<
Card>& newCards) ->
void;
The card component that is moved around on the board.
A class that can get the score of a hand.
Definition HandRating.h:30
HandType
Definition HandRating.h:35
auto addCard(const Card &newCard) -> void
Pushes back a new card into the card vector.
Definition CategorizedHand.cpp:57
auto setHandType(HandRating::HandType newType) -> void
Definition CategorizedHand.cpp:47
auto getType() const -> HandRating::HandType
Definition CategorizedHand.cpp:37
HandRating::HandType typeOfHand
Definition CategorizedHand.h:66
auto getCards() const -> const std::vector< Card > &
Definition CategorizedHand.cpp:42
auto getSum() const -> int
Definition CategorizedHand.cpp:22
auto getAsString() const -> std::string
Constructs a string that represents the data in the hand.
Definition CategorizedHand.cpp:62
std::vector< Card > importantCards
Definition CategorizedHand.h:67
CategorizedHand()=default
auto setCards(const std::vector< Card > &newCards) -> void
Sets the entire card vector at once.
Definition CategorizedHand.cpp:52
auto printCards() const -> void
Prints out all the cards that comprise the hand in the log.
Definition CategorizedHand.cpp:67
auto getScore() const -> int
Definition CategorizedHand.cpp:32