mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
working towards usable new structure
This commit is contained in:
parent
3afc2fa66e
commit
815c63009f
15 changed files with 223 additions and 84 deletions
2
app/Game/Client/Physics/Engine.js
Normal file → Executable file
2
app/Game/Client/Physics/Engine.js
Normal file → Executable file
|
|
@ -17,7 +17,7 @@ function(Parent, Settings, DomController, Box2D) {
|
|||
|
||||
Engine.prototype.setupDebugDraw = function() {
|
||||
//var debugSprite = Settings.DEBUG_DRAW_CANVAS_SPRITE;
|
||||
var debugSprite = Dom.getDebugCanvas().getContext("2d");
|
||||
var debugSprite = DomController.getDebugCanvas().getContext("2d");
|
||||
|
||||
// set debug draw
|
||||
var debugDraw = new Box2D.Dynamics.b2DebugDraw();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue