[client] update ui

This commit is contained in:
2018-08-09 17:55:40 +03:00
parent 95148a9b0b
commit 085431fe73
59 changed files with 110 additions and 95 deletions

View File

@@ -39,9 +39,11 @@ class Game {
private var deferred:Deferred<GameState>;
private var stream:Stream<GameState>;
@:provide var configBundle:IConfigBundle;
public function new(type:GameType) {
this.type = type;
this.config = Provider.get(IConfigBundle).get(type);
this.config = configBundle.get(type);
this.engine = new Engine(config);
engine.connect(this);
}

View File

@@ -45,7 +45,7 @@ team:
<<: *team
dire: &dire
id: dire
color: 0x2244ff
color: 0x3284ff
<<: *team
presets: