Beispiel #1
0
 /// <summary>
 /// Create a transition from one state to the next
 /// </summary>
 /// <param name="transition"></param>
 public void AddTransition(ITransition <T> transition, IState <T> state)
 {
     transitions.Add(transition, state);
 }
        public override bool Equals(object obj)
        {
            ITransition <T> transition = (ITransition <T>)obj;

            return(start.Equals(transition.start) && end.Equals(transition.end));
        }