Options
All
  • Public
  • Public/Protected
  • All
Menu

Defines a state condition as an extension of Condition

Hierarchy

Index

Constructors

Properties

Methods

Constructors

  • Creates a new StateCondition

    Parameters

    • actionManager: ActionManager

      manager for the action the condition applies to

    • target: any

      of the condition

    • value: string

      to compare with target state

    Returns StateCondition

Properties

value: string

Value to compare with target state

Methods

  • isValid(): boolean
  • Gets a boolean indicating if the current condition is met

    Returns boolean

    the validity of the state

  • serialize(): any
  • Serialize the StateCondition into a JSON compatible object

    Returns any

    serialization object

Legend

  • Constructor
  • Property
  • Method
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Property
  • Method
  • Static method

Settings

Theme