Class PredicateCondition
Hierarchy (View Summary)
- Condition
- PredicateCondition
Index
Constructors
constructor
-
new PredicateCondition(
actionManager: ActionManager,
predicate: () => boolean,
): PredicateConditionCreates a new PredicateCondition
Parameters
- actionManager: ActionManager
manager for the action the condition applies to
- predicate: () => boolean
defines the predicate function used to validate the condition
Returns PredicateCondition
- actionManager: ActionManager
Defines a predicate condition as an extension of Condition