void updateRolesClickReaction() { if (boat.isMoving() || judgement != JudgeEventType.unfinish) { for (int i = 0; i < roles.Length; ++i) { roles[i].shutDownClickReaction(); } } else { for (int i = 0; i < roles.Length; ++i) { roles[i].turnOnClickReaction(); } } }
void updateRolesClickReaction() { if (boat.isMoving() || check() != 0) { for (int i = 0; i < roles.Length; ++i) { roles[i].shutDownClickReaction(); } } else { for (int i = 0; i < roles.Length; ++i) { roles[i].turnOnClickReaction(); } } }