phaser - v4.0.0-rc.4
    Preparing search index...
    Index

    Constructors

    Methods

    Events

    Constructors

    Methods

    • Removes the given event callback. If no callback, clears all callbacks in eventNames. If no eventNames, clears all events.

      Parameters

      • obj: any
      • eventName: string
      • callback: (e: any) => void

      Returns void

    • Fires all the callbacks subscribed to the given object's eventName, in the order they subscribed, if any.

      Parameters

      • object: any
      • eventNames: string
      • Optionalevent: (e: any) => void

      Returns void

    Events