Rename function gethandstring to handToString
This commit is contained in:
@@ -37,7 +37,7 @@ int Player::getHandValue() const
|
|||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string Player::getHandString() const
|
std::string Player::handToString() const
|
||||||
{
|
{
|
||||||
std::string handString;
|
std::string handString;
|
||||||
for (const auto &card : hand_)
|
for (const auto &card : hand_)
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ public:
|
|||||||
|
|
||||||
Card getLastCard(void) const;
|
Card getLastCard(void) const;
|
||||||
int getHandValue() const;
|
int getHandValue() const;
|
||||||
std::string getHandString() const;
|
std::string handToString() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::vector<std::unique_ptr<Card>> hand_;
|
std::vector<std::unique_ptr<Card>> hand_;
|
||||||
|
|||||||
Reference in New Issue
Block a user