refactor(game): renamed handCard_ to handCard in Player

This commit is contained in:
Kieran Kihn
2025-11-16 20:21:35 +08:00
parent c8c779d711
commit e2a27e4417
2 changed files with 2 additions and 2 deletions

View File

@@ -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
{

View File

@@ -64,7 +64,7 @@ namespace UNO::GAME {
std::string name_;
public:
HandCard *handCard_;
HandCard *handCard;
explicit Player(std::string &name);