Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PreUpdateEvent<U>

The 'preupdate' event is emitted on actors, scenes, camera, and engine before the update starts.

Type parameters

  • U

Hierarchy

Index

Constructors

constructor

Properties

Protected _name

_name: string = ""

Protected _path

_path: Actor[] = []

Holds the whole path from the Root to the event target

bubbles

bubbles: boolean = true

determines, if event bubbles to the target's ancestors

delta

delta: number

engine

engine: Engine

other

other: U | null

Other target object for this event

target

target: Actor | Scene | Engine | TileMap | Camera

Accessors

eventPath

  • get eventPath(): Actor[]

name

  • get name(): string

Methods

Protected _onActionEnd

  • _onActionEnd(_actor?: Actor): void

Protected _onActionStart

  • _onActionStart(_actor?: Actor): void

action

  • action(): void

layPath

  • layPath(actor: Actor): void

propagate

  • propagate(): void

stopPropagation

  • stopPropagation(): void