Multi Scene in back end

- Change maps url to get maps
 - Change GameScene to create scene with file since back end
 - Change LoginScene to upload scene and start game
This commit is contained in:
gparant 2020-05-09 19:41:21 +02:00
parent 7f989cfd23
commit fb8d9bf9a8
8 changed files with 101 additions and 53 deletions

View file

@ -13,7 +13,7 @@ class App {
public server: http.Server;
public ioSocketController: IoSocketController;
public authenticateController: AuthenticateController;
public AuthenticateMiddleware: AuthenticateMiddleware;
//public AuthenticateMiddleware: AuthenticateMiddleware;
public mapController: MapController;
constructor() {
@ -26,7 +26,7 @@ class App {
//create socket controllers
this.ioSocketController = new IoSocketController(this.server);
this.authenticateController = new AuthenticateController(this.app);
this.AuthenticateMiddleware = new AuthenticateMiddleware(this.app);
//this.AuthenticateMiddleware = new AuthenticateMiddleware(this.app);
this.mapController = new MapController(this.app);
}