private void ListenSignals() { _startGameSignal += OnStartGame; _gamePausedSignal += OnPauseGame; _resumeGameSignal += OnResumeGame; _gameOverSignal += OnGameOver; _waitingToStartSignal += OnWaitingToStart; }
public void Dispose() { _startGameSignal -= OnStartGame; _gamePausedSignal -= OnPauseGame; _resumeGameSignal -= OnResumeGame; _gameOverSignal -= OnGameOver; _waitingToStartSignal -= OnWaitingToStart; }