Class: ImpactPhysics

Phaser.Physics.Impact. ImpactPhysics

[description]


new ImpactPhysics(scene)

Parameters:
Name Type Description
scene Phaser.Scene

[description]

Since: 3.0.0
Source: src/physics/impact/ImpactPhysics.js (Line 14)

Members


add :Phaser.Physics.Impact.Factory

[description]

Type:
Since: 3.0.0
Source: src/physics/impact/ImpactPhysics.js (Line 67)

config :object

[description]

Type:
  • object
Since: 3.0.0
Source: src/physics/impact/ImpactPhysics.js (Line 49)

scene :Phaser.Scene

[description]

Type:
Since: 3.0.0
Source: src/physics/impact/ImpactPhysics.js (Line 31)

systems :Phaser.Scenes.Systems

[description]

Type:
Since: 3.0.0
Source: src/physics/impact/ImpactPhysics.js (Line 40)

world :Phaser.Physics.Impact.World

[description]

Type:
Since: 3.0.0
Source: src/physics/impact/ImpactPhysics.js (Line 58)

Methods


getConfig()

[description]

Since: 3.0.0
Source: src/physics/impact/ImpactPhysics.js (Line 119)
Returns:

[description]

Type
object

pause()

[description]

Since: 3.0.0
Source: src/physics/impact/ImpactPhysics.js (Line 140)
Returns:

The Impact World object.

Type
Phaser.Physics.Impact.World

resume()

[description]

Since: 3.0.0
Source: src/physics/impact/ImpactPhysics.js (Line 153)
Returns:

The Impact World object.

Type
Phaser.Physics.Impact.World