destroy(destroyChildren, soft)
Destroys this group. Removes all children, then removes this group from its parent and nulls references.
Parameters
Name Type Argument Default Description destroyChildren boolean <optional> true If true destroy will be invoked on each removed child. soft boolean <optional> false A 'soft destroy' (set to true) doesn't remove this group from its parent or null the game reference. Set to false and it does.
Inherited From Phaser.Group#destr