fix(game): move clear method to public section in CardTile

This commit is contained in:
Kieran Kihn
2025-11-17 21:14:59 +08:00
parent 091e5f33ca
commit 03e1d363e2

View File

@@ -58,11 +58,6 @@ namespace UNO::GAME {
*/
void shuffle();
/**
* 清空牌堆
*/
void clear();
public:
CardTile();
@@ -70,6 +65,11 @@ namespace UNO::GAME {
* @return 牌堆是否为空
*/
[[nodiscard]] bool isEmpty() const;
/**
* 清空牌堆
*/
void clear();
};
/**