cleanup debug canvas #36

This commit is contained in:
Jeena 2015-03-01 15:09:14 +01:00
parent 8dacc83f7a
commit f4c7d9edeb
4 changed files with 21 additions and 60 deletions

View file

@ -51,10 +51,7 @@ function (Parent, Box2D, PhysicsEngine, ViewManager, PlayerController, Nc, reque
Parent.prototype.update.call(this);
DomController.statsBegin();
this.animationRequestId = requestAnimFrame(this.update.bind(this));
this.physicsEngine.update();
if(this.me) {
@ -67,8 +64,7 @@ function (Parent, Box2D, PhysicsEngine, ViewManager, PlayerController, Nc, reque
}
this.view.render();
DomController.statsEnd();
DomController.fpsStep();
}
GameController.prototype.mePositionStateUpdate = function() {