Base event type in Excalibur that all other event types derive from. Not all event types are thrown on all Excalibur game objects, some events are unique to a type, others are not.

Hierarchy

Constructors

Properties

_name: string = 'MediaEvent'
other: Sound

Other target object for this event

target: Sound

Target object for this event.

Accessors

  • get bubbles(): boolean
  • Media event cannot bubble

    Returns boolean

  • set bubbles(_value: boolean): void
  • Media event cannot bubble

    Parameters

    • _value: boolean

    Returns void

Methods