37 auto getSum() const ->
int;
55 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 setCards(const std::vector< Card * > &newCards) -> void
Sets the entire card vector at once.
Definition CategorizedHand.cpp:75
auto getFullHand() const -> const std::vector< Card * > &
Definition CategorizedHand.cpp:55
bool vertical
If the current hand is vertical on the board or not.
Definition CategorizedHand.h:92
auto setHandType(HandRating::HandType newType) -> void
Definition CategorizedHand.cpp:65
auto getType() const -> HandRating::HandType
Definition CategorizedHand.cpp:45
HandRating::HandType typeOfHand
The specific poker hand that the hand is worth.
Definition CategorizedHand.h:83
auto getContributingCards() const -> const std::vector< Card * > &
Definition CategorizedHand.cpp:50
auto getSum() const -> int
Definition CategorizedHand.cpp:30
auto addCard(Card *newCard) -> void
Pushes back a new card into the card vector.
Definition CategorizedHand.cpp:95
auto getAsString() const -> std::string
Constructs a string that represents the data in the hand.
Definition CategorizedHand.cpp:100
CategorizedHand()=default
auto getVertical() const -> bool
Definition CategorizedHand.cpp:60
std::vector< Card * > importantCards
The cards in the hand that contribute to the score.
Definition CategorizedHand.h:86
auto printCards() const -> void
Prints out all the cards that comprise the hand in the log.
Definition CategorizedHand.cpp:105
auto getScore() const -> int
Definition CategorizedHand.cpp:40
auto setVertical(bool isVertical) -> void
Definition CategorizedHand.cpp:70
auto setFullHand(const std::vector< Card * > &newCards) -> void
Sets the full hand cards.
Definition CategorizedHand.cpp:80
std::vector< Card * > fullHand
All the cards in the players hand.
Definition CategorizedHand.h:89