Skip to main content

NativeSoundProcessedEvent

Base event type in Excalibur that all other event types derive from. Not all event types are thrown on all Excalibur game objects, some events are unique to a type, others are not.

Hierarchy

Index

Constructors

constructor

Properties

publicdata

data: string | AudioBuffer

publicother

other: Sound

Other target object for this event

publictarget

target: Sound

Target object for this event.

Accessors

publicbubbles

  • get bubbles(): boolean
  • set bubbles(_value: boolean): void
  • Media event cannot bubble


    Returns boolean

  • Media event cannot bubble


    Parameters

    • _value: boolean

    Returns void

Methods

publicaction

  • action(): void
  • Action, that calls when event happens


    Returns void

publiclayPath

  • layPath(_actor: Actor): void
  • Parameters

    Returns void

publicpropagate

  • propagate(): void
  • Propagate event further through event path


    Returns void

publicstopPropagation

  • stopPropagation(): void
  • Prevents event from bubbling


    Returns void