Class
Phaser.Class
Phaser.Class
Constructor
new Class(definition)
Parameters
| name | type | optional | description |
|---|---|---|---|
| definition | Object | No | A dictionary of functions and properties for the class. |
Scope: global
Source: src/utils/Class.js#L178
You’re reading the docs for Phaser v4.0.0. The latest is Phaser v4.1.0.
Phaser.Class
Phaser.Class
Constructor
new Class(definition)
Parameters
| name | type | optional | description |
|---|---|---|---|
| definition | Object | No | A dictionary of functions and properties for the class. |
Scope: global
Source: src/utils/Class.js#L178