[client] update ui
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -45,7 +45,7 @@ team:
|
||||
<<: *team
|
||||
dire: &dire
|
||||
id: dire
|
||||
color: 0x2244ff
|
||||
color: 0x3284ff
|
||||
<<: *team
|
||||
|
||||
presets:
|
||||
|
||||
Reference in New Issue
Block a user