/// <summary> /// Transistions the chain to the next available state. /// </summary> public State Next() { CurrentState = chain[CurrentState.Transistion()]; return(CurrentState); }