protected void SwitchState(BaseGameState gameState)
 {
     OnStateSwitched?.Invoke(this, gameState);
 }
Example #2
0
 private void State_Button_Click(object sender, EventArgs e)
 {
     _model.SwitchState();
     OnStateSwitched?.Invoke();
 }