Fixed issue with Pointer speed not resetting and moved some more render methods to the Debug class.

This commit is contained in:
Richard Davey
2013-07-29 00:43:10 +01:00
parent 3038f6fcf8
commit 4f2c26df77
7 changed files with 80 additions and 34 deletions
+11 -1
View File
@@ -134,7 +134,6 @@ module Phaser {
return <Group> this._world.group.add(new Group(this._game, maxSize));
}
/**
* Create a new Particle.
*
@@ -207,6 +206,17 @@ module Phaser {
return this._world.group.add(sprite);
}
/**
* Add an existing Group to the current world.
* Note: This doesn't check or update the objects reference to Game. If that is wrong, all kinds of things will break.
*
* @param group The Group to add to the Game World
* @return {Phaser.Group} The Group object
*/
public existingGroup(group: Group): Group {
return this._world.group.add(group);
}
/**
* Add an existing Button to the current world.
* Note: This doesn't check or update the objects reference to Game. If that is wrong, all kinds of things will break.