align assignments
This commit is contained in:
+4
-4
@@ -1,10 +1,10 @@
|
|||||||
function GameManager(size, InputManager, Actuator, StorageManager) {
|
function GameManager(size, InputManager, Actuator, StorageManager) {
|
||||||
this.size = size; // Size of the grid
|
this.size = size; // Size of the grid
|
||||||
this.inputManager = new InputManager;
|
this.inputManager = new InputManager;
|
||||||
this.storageManager = new StorageManager;
|
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("move", this.move.bind(this));
|
||||||
this.inputManager.on("restart", this.restart.bind(this));
|
this.inputManager.on("restart", this.restart.bind(this));
|
||||||
|
|||||||
Reference in New Issue
Block a user