IEnumerator Gestate(Creature mother, Creature father) { this.gestating = true; this.baseSpeed /= GESTATION_SLOWDOWN; yield return(new WaitForSeconds(GESTATION_DURATION)); int offspring = HushPuppy.RandomInt(this.OFFSPRING); for (int i = 0; i < offspring; i++) { GiveBirth(mother, father); } this.gestating = false; this.baseSpeed *= GESTATION_SLOWDOWN; }