|
@@ -1,11 +1,12 @@
|
|
|
-
|
|
|
-
|
|
|
-class PlayMode{
|
|
|
+/// Description: 游戏模式
|
|
|
+/// Time : 05/06/2023 Saturday
|
|
|
+/// Author : liuyuqi.gov@msn.cn
|
|
|
+class PlayMode {
|
|
|
final String mode;
|
|
|
|
|
|
- static const modeRobot = PlayMode('robot');
|
|
|
- static const modeOnline = PlayMode('online');
|
|
|
- static const modeFree = PlayMode('free');
|
|
|
+ static const modeRobot = PlayMode('robot'); // 机器人模式
|
|
|
+ static const modeOnline = PlayMode('online'); // 在线对弈模式
|
|
|
+ static const modeFree = PlayMode('free'); // 自由模式
|
|
|
|
|
|
const PlayMode(this.mode);
|
|
|
-}
|
|
|
+}
|