Options
All
  • Public
  • Public/Protected
  • All
Menu

OnceTriggers is used to store the status of the conditions "Trigger once", that are used in events to have conditions that are only valid for one frame in a row.

Hierarchy

  • OnceTriggers

Index

Constructors

Methods

  • startNewFrame(): void
  • triggerOnce(triggerId: number): boolean
  • Used by "Trigger once" conditions: return true only if this method was not called with the same identifier during the last frame.

    Parameters

    • triggerId: number

      The identifier of the "Trigger once" condition.

    Returns boolean

Generated using TypeDoc