checkpoint

This commit is contained in:
Alessandro Autiero
2023-02-24 15:24:24 +01:00
parent 013d15d7ff
commit 63c7cc5c5b
69 changed files with 1148 additions and 644 deletions

View File

@@ -1,3 +1,4 @@
import 'dart:async';
import 'dart:collection';
import 'dart:convert';
import 'dart:io';
@@ -20,7 +21,9 @@ class GameController extends GetxController {
late final HashMap<GameType, GameInstance> gameInstancesMap;
late final RxBool started;
late bool updated;
Future? updater;
late bool error;
late bool failing;
StreamController<bool>? updater;
GameController() {
_storage = GetStorage("game");
@@ -52,6 +55,10 @@ class GameController extends GetxController {
started = RxBool(false);
updated = false;
error = false;
failing = false;
}
String _readUsername() {