Namespace: BodyType

Phaser.Physics.Impact.Components. BodyType

The Impact Body Type component. Should be applied as a mixin.

Since: 3.0.0
Source: src/physics/impact/components/BodyType.js (Line 9)

Methods


getBodyType()

[description]

Since: 3.0.0
Source: src/physics/impact/components/BodyType.js (Line 18)
Returns:

[description]

Type
number

setTypeA()

[description]

Since: 3.0.0
Source: src/physics/impact/components/BodyType.js (Line 46)
Returns:

This Game Object.

Type
Phaser.GameObjects.GameObject

setTypeB()

[description]

Since: 3.0.0
Source: src/physics/impact/components/BodyType.js (Line 61)
Returns:

This Game Object.

Type
Phaser.GameObjects.GameObject

setTypeNone()

[description]

Since: 3.0.0
Source: src/physics/impact/components/BodyType.js (Line 31)
Returns:

This Game Object.

Type
Phaser.GameObjects.GameObject