Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CollisionEndEvent<T, U>

Event thrown when the actor is no longer colliding with another

Type parameters

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

other

other: T

target

target: T

Target object for this event.

Accessors

actor

  • get actor(): T
  • set actor(actor: T): void

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