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); }
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); }