public void TransitionToState(IState state)
 {
     currentState = state;
     state.EnterState(this);
 }