You’re reading the docs for Phaser v3.88.2. The latest is Phaser v4.1.0.

Class

Phaser.Class

Phaser.Class

Constructor

new Class(definition)

Parameters

nametypeoptionaldescription
definitionObjectNoa dictionary of functions for the class

Scope: global

Source: src/utils/Class.js#L173