Пример #1
0
        /// <summary>
        /// Transistions the chain to the next available state.
        /// </summary>
        public State Next()
        {
            CurrentState = chain[CurrentState.Transistion()];

            return(CurrentState);
        }