mirror of
https://github.com/kierankihn/uno-game.git
synced 2025-12-27 10:23:16 +08:00
refactor(game): renamed handCard_ to handCard in Player
This commit is contained in:
@@ -45,7 +45,7 @@ namespace UNO::GAME {
|
|||||||
return cards_.empty();
|
return cards_.empty();
|
||||||
}
|
}
|
||||||
|
|
||||||
Player::Player(std::string &name) : name_(std::move(name)), handCard_(nullptr) {}
|
Player::Player(std::string &name) : name_(std::move(name)), handCard(nullptr) {}
|
||||||
|
|
||||||
const std::string &Player::getName() const
|
const std::string &Player::getName() const
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ namespace UNO::GAME {
|
|||||||
std::string name_;
|
std::string name_;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
HandCard *handCard_;
|
HandCard *handCard;
|
||||||
|
|
||||||
explicit Player(std::string &name);
|
explicit Player(std::string &name);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user