Namespace: SetGameObject

Phaser.Physics.Impact.Components. SetGameObject

The Impact Set Game Object component. Should be applied as a mixin.

Since: 3.0.0
Source: src/physics/impact/components/SetGameObject.js (Line 7)

Methods


setGameObject(gameObject [, sync])

[description]

Parameters:
Name Type Argument Default Description
gameObject Phaser.GameObjects.GameObject

[description]

sync boolean <optional>
true

[description]

Since: 3.0.0
Source: src/physics/impact/components/SetGameObject.js (Line 16)
Returns:

This Game Object.

Type
Phaser.GameObjects.GameObject

syncGameObject()

[description]

Since: 3.0.0
Source: src/physics/impact/components/SetGameObject.js (Line 48)
Returns:

This Game Object.

Type
Phaser.GameObjects.GameObject