Class: Group

Group

An Animation instance contains a single animation and the controls to play it. It is created by the AnimationManager, consists of Animation.Frame objects and belongs to a single Game Object such as a Sprite.

new Group(game, parent, name, useStage)

Phaser Group constructor.
Parameters:
Name Type Description
game Phaser.Game A reference to the currently running game.
parent Description Description.
name string The unique name for this animation, used in playback commands.
useStage bool Description.
Source:
  • core/Group.js, line 19

Members

exists

Properties:
Name Type Description
exists bool Description.
Default Value:
  • true
Source:
  • core/Group.js, line 73

game

Properties:
Name Type Description
game Phaser.Game A reference to the currently running Game.
Source:
  • core/Group.js, line 31

name

Properties:
Name Type Description
name Phaser.Game Description.
Source:
  • core/Group.js, line 36

type

Properties:
Name Type Description
type Description Description.
Source:
  • core/Group.js, line 67