We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a00572e commit 50fd10eCopy full SHA for 50fd10e
game/board.h
@@ -16,16 +16,26 @@ namespace mahjong {
16
#define ACTION_HU 7
17
#define ACTION_DISCARDTILE 8
18
19
-enum BOARD_STATUS {}; //牌局状态机
+enum board_status_t {
20
+ BOARD_STATUS_WAITING_FOR_START,
21
+}; //牌局状态机
22
23
//牌局类
24
class Board {
25
public:
26
Board() {}
27
+ void Next() {
28
+ switch (_status) {
29
+ case BOARD_STATUS_WAITING_FOR_START:
30
+ break;
31
+ default:
32
33
+ }
34
35
36
private:
37
Fan _fan; //算番器
- BOARD_STATUS _status;
38
+ board_status_t _status;
39
};
40
41
} // namespace mahjong
0 commit comments