letting player spawn. hiding three.js canvas

This commit is contained in:
Logsol 2013-01-04 01:03:41 +01:00
parent 4767632f3d
commit 6219a82fbd
5 changed files with 24 additions and 15 deletions

View file

@ -17,14 +17,12 @@ function (Parent, PhysicsEngine, ViewController, KeyboardController, Notificatio
this.me = null;
this.keyboardController = null;
//NotificationCenter.on('me/joined', this.meJoined, this)
//this.update();
this.update();
}
GameController.prototype = Object.create(Parent.prototype);
/*
GameController.prototype.getMe = function () {
return this.me;
}
@ -44,7 +42,6 @@ function (Parent, PhysicsEngine, ViewController, KeyboardController, Notificatio
GameController.prototype.meJoined = function (user) {
this.me = this.userJoined(user);
this.keyboardController = new KeyboardController(this.me, this);
}
@ -71,6 +68,6 @@ function (Parent, PhysicsEngine, ViewController, KeyboardController, Notificatio
}
}
*/
return GameController;
});