Skip to main content
Version: Phaser v4.0.0

Class

Phaser.Class

Constructor

new Class(definition)

Parameters

nametypeoptionaldescription
definitionObjectNoA dictionary of functions and properties for the class.

Scope: global

Source: src/utils/Class.js#L178