/// <summary>
 /// Generates a non-inverted transition with an extra check-delegate!
 /// </summary>
 /// <param name="states"></param>
 /// <param name="start"></param>
 /// <param name="end"></param>
 /// <param name="eventType"></param>
 /// <param name="checkDelegate"></param>
 /// <param name="finishedDelegate"></param>
 /// <returns></returns>
 public static FiniteStateMachineTransition <EventType> Generate(
     List <FiniteStateMachineState <EventType> > states, int start, int end, Type eventType,
     OsmSharp.Math.StateMachines.FiniteStateMachineTransitionCondition <EventType> .FiniteStateMachineTransitionConditionDelegate checkDelegate,
     TransitionFinishedDelegate finishedDelegate)
 {
     return(FiniteStateMachineTransition <EventType> .Generate(states, start, end, false, eventType, checkDelegate, finishedDelegate));
 }
예제 #2
0
 public static FiniteStateMachineTransition <EventType> Generate(List <FiniteStateMachineState <EventType> > states, int start, int end, Type eventType, FiniteStateMachineTransitionCondition <EventType> .FiniteStateMachineTransitionConditionDelegate checkDelegate)
 {
     return(FiniteStateMachineTransition <EventType> .Generate(states, start, end, false, eventType, checkDelegate, (FiniteStateMachineTransition <EventType> .TransitionFinishedDelegate) null));
 }
예제 #3
0
 public static FiniteStateMachineTransition <EventType> Generate(List <FiniteStateMachineState <EventType> > states, int start, int end, params Type[] eventTypes)
 {
     return(FiniteStateMachineTransition <EventType> .Generate(states, start, end, false, eventTypes));
 }