Attach a listener to the object. The callback will be executed when the event is emitted. Mutate the object.
For all available events, see: https://photonstorm.github.io/phaser3-docs/Phaser.Input.Events.html
object to be added to
the event name
listener function, executed on event
listener game object
Attach a listener to the object. The callback will be executed when the event is emitted. Mutate the object.
For all available events, see: https://photonstorm.github.io/phaser3-docs/Phaser.Input.Events.html