mirror of
https://github.com/wassname/phaser.git
synced 2026-07-10 00:30:50 +08:00
Mummy attack :)
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user