- Source:
Uses Phaser.Events.EventEmitter in dataManager.emitter and dataManager.debug.emitter
Events
debugLog
- Source:
Fired when a debug message is logged.
Type:
- Phaser.Event
Listeners of This Event:
debugMessageToggle
- Source:
Fired when dataManager#on is toggled
Type:
- Phaser.Event
Listeners of This Event:
enemyDied
- Source:
Fired when an enemy dies.
Type:
- Phaser.Event
Listeners of This Event:
healthChange
- Source:
Fired when player health changes.
Type:
- Phaser.Event
Listeners of This Event:
inventoryChange
- Source:
Fired when inventory changes.
Type:
- Phaser.Event
Listeners of This Event:
playerDied
- Source:
- To Do:
-
- implement listener in scene
Fired when player dies.
Type:
- Phaser.Event
scoreChange
- Source:
Fired when score changes.
Type:
- Phaser.Event