mirror of
https://github.com/photonstorm/phaser
synced 2024-11-25 06:00:41 +00:00
Added World.remove
This commit is contained in:
parent
23993bb318
commit
4023880efd
1 changed files with 5 additions and 0 deletions
|
@ -194,6 +194,11 @@ var World = new Class({
|
|||
return body;
|
||||
},
|
||||
|
||||
remove: function (object)
|
||||
{
|
||||
this.bodies.delete(object);
|
||||
},
|
||||
|
||||
pause: function ()
|
||||
{
|
||||
this.enabled = false;
|
||||
|
|
Loading…
Reference in a new issue