mirror of
https://github.com/kierankihn/uno-game.git
synced 2025-12-27 02:13:18 +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();
|
||||
}
|
||||
|
||||
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
|
||||
{
|
||||
|
||||
@@ -64,7 +64,7 @@ namespace UNO::GAME {
|
||||
std::string name_;
|
||||
|
||||
public:
|
||||
HandCard *handCard_;
|
||||
HandCard *handCard;
|
||||
|
||||
explicit Player(std::string &name);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user