Class IfUSM
if
: Choose between two SMs based on the predicate.
Inheritance
System.Object
Danmokou.SM.StateMachine
Danmokou.SM.UniversalSM
IfUSM
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Danmokou.SM
Assembly: cs.temp.dll.dll
Syntax
public class IfUSM : UniversalSM
Constructors
IfUSM(GCXF<Boolean>, StateMachine, StateMachine)
Declaration
public IfUSM(GCXF<bool> pred, StateMachine iftrue, StateMachine iffalse)
Parameters
Type | Name | Description |
---|---|---|
GCXF<System.Boolean> | pred | |
Danmokou.SM.StateMachine | iftrue | |
Danmokou.SM.StateMachine | iffalse |
Methods
Start(SMHandoff)
Declaration
public override Task Start(SMHandoff smh)
Parameters
Type | Name | Description |
---|---|---|
Danmokou.SM.SMHandoff | smh |
Returns
Type | Description |
---|---|
Task |
Overrides
Danmokou.SM.StateMachine.Start(Danmokou.SM.SMHandoff)