StateCondition

Defines a state condition as an extension of Condition

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • 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

value: string

Methods

isValid

  • isValid(): boolean
  • Returns boolean

    the validity of the state

serialize

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

    Returns any

    serialization object

Generated using TypeDoc