mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
first attempt to implement GameObject
This commit is contained in:
parent
aa30a23ca1
commit
fe0d4a66e2
14 changed files with 328 additions and 129 deletions
|
|
@ -72,6 +72,10 @@ function (Parent, Box2D, PhysicsEngine, ViewManager, PlayerController, Notificat
|
|||
this.me.update();
|
||||
}
|
||||
|
||||
for (var i = 0; i < this.gameObjects.animated.length; i++) {
|
||||
this.gameObjects.animated[i].render();
|
||||
}
|
||||
|
||||
this.view.render();
|
||||
|
||||
this.stats.end();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue