Mummy attack :)

This commit is contained in:
Richard Davey
2013-08-30 18:56:10 +01:00
parent e77f5da2cd
commit 54d98944e4
6 changed files with 112 additions and 53 deletions
+10
View File
@@ -16,6 +16,7 @@ Phaser.World.prototype = {
_stage: null,
_container: null,
_length: 0,
bounds: null,
@@ -38,6 +39,15 @@ Phaser.World.prototype = {
return gameobject;
},
update: function () {
for (var child in this._container.children)
{
this._container.children[child].update();
}
},
/**
* Updates the size of this world.
*