Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CollisionStartEvent

Event thrown the first time an actor collides with another, after an actor is in contact normal collision events are fired.

Hierarchy

Index

Constructors

constructor

Properties

Protected _name

_name: string = ""

Protected _path

_path: Actor[] = []

Holds the whole path from the Root to the event target

actor

actor: Actor

bubbles

bubbles: boolean = true

determines, if event bubbles to the target's ancestors

other

other: Actor

pair

pair: Pair

target

target: Actor

Target object for this event.

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