Skip to main content

CanBeKilled

Implemented by

Index

Methods

off

  • off(eventName: prekill, handler: (event: PreKillEvent) => void): void
  • off(eventName: postkill, handler: (event: PostKillEvent) => void): void
  • Parameters

    Returns void

on

  • on(eventName: prekill, handler: (event: PreKillEvent) => void): void
  • on(eventName: postkill, handler: (event: PostKillEvent) => void): void
  • Event signatures


    Parameters

    Returns void

onPostKill

  • onPostKill(_scene: Scene<unknown>): void
  • Overridable implementation


    Parameters

    Returns void

onPreKill

  • onPreKill(_scene: Scene<unknown>): void
  • Overridable implementation


    Parameters

    Returns void

once

  • once(eventName: prekill, handler: (event: PreKillEvent) => void): void
  • once(eventName: postkill, handler: (event: PostKillEvent) => void): void
  • Parameters

    Returns void