Protocols/define/enum.ts
2023-09-15 11:13:41 +08:00

41 lines
509 B
TypeScript

export enum EGameState {
/** 準備 */
Ready,
/** 等待回合 */
Wait,
/** 等待回合 */
TurnCards,
/** 看圖 */
ImageViewer,
/** 選擇卡片回合 */
ChooseCards,
/** 確定選擇卡片 */
ChooseCard,
/** 回合結束 */
TurnEnd,
/** 遊戲結束 */
GameOver,
MyReady = 100,
MyWait,
MyTurnCards,
MyImageViewer,
MyChooseCards,
MyChooseCard,
MyTurnEnd,
OtherReady = 200,
OtherWait,
OtherTurnCards,
OtherImageViewer,
OtherChooseCards,
OtherChooseCard,
OtherTurnEnd,
}