private void UpdateListeners(bool value)
 {
     view.CLICK_EVENT.UpdateListener(value, onViewClicked);
     GAME_UPDATE.UpdateListener(value, onGameUpdate);
     GAME_OVER.UpdateListener(value, onGameOver);
     RESTART_GAME.UpdateListener(value, onRestart);
 }
예제 #2
0
        private void UpdateListeners(bool value)
        {
            SCORE_CHANGE.UpdateListener(value, onScoreChange);
            LIVES_CHANGE.UpdateListener(value, onLivesChange);
            view.REPLAY.UpdateListener(value, onReplay);
            view.REMOVE_CONTEXT.UpdateListener(value, onRemoveContext);

            GAME_OVER.UpdateListener(value, onGameOver);
            RESTART_GAME.UpdateListener(value, onRestart);
        }