예제 #1
0
 private void AdjustNecessities(NecessityEffect necessityEffect)
 {
     Necessities.AdjustSleep(necessityEffect.SleepEffectiveness);
     Eat(necessityEffect.HungerEffectiveness);
     Drink(necessityEffect.ThirstEffectiveness);
     Necessities.AdjustHygiene(necessityEffect.HygieneEffectiveness);
     Necessities.AdjustHealth(necessityEffect.HealthEffectiveness);
 }
예제 #2
0
 private void AdjustNecessities(double necessityEffect)
 {
     Necessities.AdjustSleep(necessityEffect);
     Necessities.AdjustHunger(necessityEffect);
     Necessities.AdjustThirst(necessityEffect);
     Necessities.AdjustHygiene(necessityEffect);
     Necessities.AdjustHealth(necessityEffect);
 }