Skip to main content

InitializeEvent <T>

Event thrown on an Actor, Scene, and Engine only once before the first update call

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

publicengine

engine: Engine

The reference to the current engine

publicinheritedother

other: T | null = null

Other target object for this event

publicself

self: T

publicinheritedtarget

target: T

Target object for this event.

Accessors

publicinheritedbubbles

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


    Returns boolean

  • Parameters

    • value: boolean

    Returns void

Methods

publicinheritedstopPropagation

  • stopPropagation(): void
  • Prevents event from bubbling


    Returns void