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.

Type Parameters

  • T

  • U = T

Hierarchy

  • GameEvent

Constructors

Properties

Accessors

Methods

Constructors

Properties

other: U

Other target object for this event

target: T

Target object for this event.

Accessors

  • get bubbles(): boolean
  • If set to false, prevents event from propagating to other actors. If true it will be propagated to all actors that apply.

    Returns boolean

  • set bubbles(value: boolean): void
  • Parameters

    • value: boolean

    Returns void

Methods

  • Prevents event from bubbling

    Returns void