diff --git a/js/game_manager.js b/js/game_manager.js index 3651d0870edcdb27d7e1093fb9aedd9074d3514e..f60fd2d2420d7577f0005b7dd22eec8c5a16756c 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));