mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 18:47:35 +00:00
cleaning up Server GameController
This commit is contained in:
parent
9ac1d61487
commit
4e3f207f52
2 changed files with 25 additions and 60 deletions
|
|
@ -9,10 +9,11 @@ define([
|
|||
function(Parent, PhysicsEngine, ViewController, KeyboardController, requestAnimFrame) {
|
||||
|
||||
function GameController () {
|
||||
this.me;
|
||||
this.keyboardController;
|
||||
|
||||
Parent.apply(this, new PhysicsEngine());
|
||||
|
||||
this.me = null;
|
||||
this.keyboardController = null;
|
||||
|
||||
this.viewController = new ViewController();
|
||||
this.update();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue