public void SwitchState(BaseGameState state) { _state?.Cleanup(); _state = state; _state?.Initialize(); }