Example #1
0
        public void AddAnyTransition(State to, StateTransitionCondition condition)
        {
            var stateTransition = new StateTransition(null, to, condition);

            _anyStateTransitions.Add(stateTransition);
        }
Example #2
0
        public void AddTransition(State from, State to, StateTransitionCondition condition)
        {
            var statetransition = new StateTransition(from, to, condition);

            _stateTransitions.Add(statetransition);
        }