@Override
    public void virusAttack(int iterationNum) {
        if (updateInfectionStatus && iterationNum != this.timeOfUpdate) {
            this.infectionStatus = true;
        } else {
            if (random.getResult()) {
                this.updateInfectionStatus = true;
                this.timeOfUpdate = iterationNum;
            }
        }
    }