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 15)

Members


add :Phaser.Physics.Impact.Factory

[description]

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

config :object

[description]

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

scene :Phaser.Scene

[description]

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

systems :Phaser.Scenes.Systems

[description]

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

world :Phaser.Physics.Impact.World

[description]

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

Methods


getConfig()

[description]

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

[description]

Type
object

pause()

[description]

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

The Impact World object.

Type
Phaser.Physics.Impact.World

resume()

[description]

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

The Impact World object.

Type
Phaser.Physics.Impact.World