Protocols/define/enum.ts

44 lines
551 B
TypeScript
Raw Normal View History

2023-09-10 11:33:38 +00:00
export enum EGameState {
2023-09-11 06:56:22 +00:00
/** 準備 */
2023-09-11 04:14:29 +00:00
Ready,
2023-09-11 06:56:22 +00:00
/** 等待回合 */
2023-09-11 04:14:29 +00:00
Wait,
2023-09-11 06:56:22 +00:00
/** 等待回合 */
2023-09-10 11:33:38 +00:00
TurnCards,
2023-09-11 06:56:22 +00:00
/** 看圖 */
2023-09-10 11:33:38 +00:00
ImageViewer,
2023-09-11 06:56:22 +00:00
/** 選擇卡片回合 */
2023-09-10 11:33:38 +00:00
ChooseCards,
2023-09-11 06:56:22 +00:00
/** 確定選擇卡片 */
ChooseCard,
/** 回合結束 */
TurnEnd,
2023-09-15 03:13:41 +00:00
/** 遊戲結束 */
GameOver,
/** 等待開新遊戲 */
WaitNewGame,
2023-09-11 04:14:29 +00:00
MyReady = 100,
MyWait,
2023-09-10 11:33:38 +00:00
MyTurnCards,
MyImageViewer,
MyChooseCards,
2023-09-11 06:56:22 +00:00
MyChooseCard,
MyTurnEnd,
2023-09-10 11:33:38 +00:00
2023-09-11 04:14:29 +00:00
OtherReady = 200,
OtherWait,
OtherTurnCards,
2023-09-10 11:33:38 +00:00
OtherImageViewer,
OtherChooseCards,
2023-09-11 06:56:22 +00:00
OtherChooseCard,
OtherTurnEnd,
2023-09-10 11:33:38 +00:00
}