Пример #1
0
 private void DisposeWelcomeIfNeeded()
 {
     if (_welcomeController != null)
     {
         _welcomeController.StartNewGame -= StartNewGameHandler;
         _welcomeController.Dispose();
         _welcomeController = null;
     }
 }
Пример #2
0
 public void Start()
 {
     _welcomeController = new WelcomeController();
     _welcomeController.StartNewGame += StartNewGameHandler;
     _welcomeController.Start();
 }