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

@ -15,6 +15,8 @@ function (Parent, Settings, DomController, Box2D) {
}
}
Engine.prototype = Object.create(Parent.prototype);
Engine.prototype.setupDebugDraw = function () {
//var debugSprite = Settings.DEBUG_DRAW_CANVAS_SPRITE;
var debugSprite = DomController.getDebugCanvas().getContext("2d");