mirror of
https://github.com/wassname/phaser.git
synced 2026-09-11 12:31:29 +08:00
Fixed issue with Pointer speed not resetting and moved some more render methods to the Debug class.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user