mirror of
https://github.com/kierankihn/uno-game.git
synced 2025-12-27 10:23:16 +08:00
fix(game): add setIsUno for PlayerState
This commit is contained in:
@@ -40,7 +40,17 @@ namespace UNO::GAME {
|
||||
*/
|
||||
[[nodiscard]] size_t getRemainingCardCount() const;
|
||||
|
||||
/**
|
||||
* 将剩余手牌设置为 x 张
|
||||
* @param x 要设置的张数
|
||||
*/
|
||||
void setRemainingCardCount(size_t x);
|
||||
|
||||
/**
|
||||
* 设置 Uno 状态
|
||||
* @param x Uno 状态
|
||||
*/
|
||||
void setIsUno(bool x);
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user