| TransitionGuard Property |
Gets or sets the guard predicate.
Namespace: DigitalRune.Game.StatesAssembly: DigitalRune.Game (in DigitalRune.Game.dll) Version: 1.4.0.0 (1.4.0.14427)
Syntax public Func<bool> Guard { get; set; }
Public Property Guard As Func(Of Boolean)
Get
Set
public:
property Func<bool>^ Guard {
Func<bool>^ get ();
void set (Func<bool>^ value);
}
member Guard : Func<bool> with get, set
Property Value
Type:
FuncBoolean
The guard predicate. Per default, this value is
- which is treated as
"always true".
Remarks
A transition can fire if this predicate returns .
See Also