public void SetErrorState(ErrorMsg msg) { _errorstate.SetError(msg); SwitchState(GameState.ErrorState); }