diff --git a/src/game/CardTile.h b/src/game/CardTile.h index 2d0003f..985122a 100644 --- a/src/game/CardTile.h +++ b/src/game/CardTile.h @@ -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(); }; /**