Пример #1
0
 private void ListenSignals()
 {
     _startGameSignal      += OnStartGame;
     _gamePausedSignal     += OnPauseGame;
     _resumeGameSignal     += OnResumeGame;
     _gameOverSignal       += OnGameOver;
     _waitingToStartSignal += OnWaitingToStart;
 }
Пример #2
0
 public void Dispose()
 {
     _startGameSignal      -= OnStartGame;
     _gamePausedSignal     -= OnPauseGame;
     _resumeGameSignal     -= OnResumeGame;
     _gameOverSignal       -= OnGameOver;
     _waitingToStartSignal -= OnWaitingToStart;
 }