Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CollisionStartEvent<T>

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

Type parameters

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

other

other: T

pair

pair: Pair

target

target: T

Target object for this event.

Accessors

actor

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

bubbles

  • 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

  • If set to false, prevents event from propagating to other actors. If true it will be propagated to all actors that apply.

    Parameters

    • value: boolean

    Returns void

Methods

stopPropagation

  • stopPropagation(): void