Phaser.Types.GameObjects.Group

Scope: static

Source: src/gameobjects/group/typedefs/index.js#L7

Typedefs:

Public Members

GroupCallback

GroupCallback

Parameters:

nametypeoptionaldescription
itemPhaser.GameObjects.GameObjectNoA group member

Source: src/gameobjects/group/typedefs/GroupCallback.js#L1
Since: 3.0.0


GroupClassTypeConstructor

GroupClassTypeConstructor

Parameters:

nametypeoptionaldescription
scenePhaser.SceneNoThe Scene to which this Game Object belongs.
xnumberNoThe horizontal position of this Game Object in the world.
ynumberNoThe vertical position of this Game Object in the world.
texturestring | Phaser.Textures.TextureNoThe key, or instance of the Texture this Game Object will use to render with, as stored in the Texture Manager.
framestring | numberYesAn optional frame from the Texture this Game Object is rendering with.

Source: src/gameobjects/group/typedefs/GroupClassTypeConstructor.js#L1
Since: 3.0.0


GroupConfig

GroupConfig

Source: src/gameobjects/group/typedefs/GroupConfig.js#L1
Since: 3.0.0


GroupCreateConfig

GroupCreateConfig

Description:

The total number of objects created will be

key.length * frame.length * frameQuantity * (yoyo ? 2 : 1) * (1 + repeat)

If max is nonzero, then the total created will not exceed max.

key is required. Phaser.GameObjects.Group#defaultKey is not used.

Source: src/gameobjects/group/typedefs/GroupCreateConfig.js#L1
Since: 3.0.0


GroupMultipleCreateCallback

GroupMultipleCreateCallback

Parameters:

nametypeoptionaldescription
itemsArray.<Phaser.GameObjects.GameObject>NoThe newly created group members

Source: src/gameobjects/group/typedefs/GroupMultipleCreateCallback.js#L1
Since: 3.0.0


Private Members

Updated on