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