diff --git a/js/game_manager.js b/js/game_manager.js index 3651d08..f60fd2d 100644 --- a/js/game_manager.js +++ b/js/game_manager.js @@ -1,10 +1,10 @@ function GameManager(size, InputManager, Actuator, StorageManager) { - this.size = size; // Size of the grid - this.inputManager = new InputManager; + this.size = size; // Size of the grid + this.inputManager = new InputManager; this.storageManager = new StorageManager; - this.actuator = new Actuator; + this.actuator = new Actuator; - this.startTiles = 2; + this.startTiles = 2; this.inputManager.on("move", this.move.bind(this)); this.inputManager.on("restart", this.restart.bind(this));