Пример #1
0
 private void SetAllAnimalDoorsState(Buildings.AnimalDoorState state)
 {
     foreach (Farm farm in Game.Instance.Farms)
     {
         farm.SetAnimalDoorsState(state);
     }
 }
Пример #2
0
 private void SetAllAnimalDoorsState(Buildings.AnimalDoorState state)
 {
     foreach (Buildings.AnimalBuilding animalBuilding in this.EligibleAnimalBuildings)
     {
         animalBuilding.AnimalDoorState = state;
     }
 }