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();
Last modified 09 December 2024