Type Definitions
emitFunction(detailopt)
Emit an event.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
detail |
Object |
<optional> |
The event payload. |
- Source:
eventHandler(eventopt)
Handle an event.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
event |
* |
<optional> |
The event to be handled. |
- Source:
- See:
InstanceConfig :Object
A config object containing a canvas ref and a reference to the Phaser game instance.
Properties:
Name | Type | Description |
---|---|---|
canvasRef |
Object | The reference to the Phaser game canvas. |
game |
Object | The Phaser game instance. |
- Source:
- See: