public void TransitionToState(BookingState state)
        {
            this.State = state;

            this.State.EnterState(this);
        }
Exemple #2
0
 public void TransitionToState(BookingState state)
 {
     curremtState = state;
     curremtState.EnterState(this);
 }