summaryrefslogtreecommitdiff
path: root/frontend/src/models/currentGame.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/models/currentGame.js')
-rw-r--r--frontend/src/models/currentGame.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/frontend/src/models/currentGame.js b/frontend/src/models/currentGame.js
new file mode 100644
index 00000000..fcabe875
--- /dev/null
+++ b/frontend/src/models/currentGame.js
@@ -0,0 +1,6 @@
+import type { ApiPlayerTurnInfo } from '../api/model';
+
+export class CurrentGameState {
+ playersReadiness: Map<string, boolean> = new Map();
+ turnInfo: ApiPlayerTurnInfo | null = null
+}
bgstack15