public void TransitionToState(PlayerBaseState newState)
 {
     currentState = newState;
     PlayerEvents.CallPlayerChangedState(currentState);
     currentState.EnterState(this);
 }