Website | Source

StateMachine stateMachine = new StateMachine("scheme.xml");

stateMachine.GetState("State1").OnExit(Action1);
stateMachine.GetState("State2").OnEntry(Action2);
stateMachine.GetTransition("Transition1").OnInvoke(Action3);
stateMachine.OnChangeState(Action4);

stateMachine.Start();


Tags: library   clr   state machine  

Last modified 07 October 2024