Esempio n. 1
0
 public override void updateEvenIfFarmerIsntHere(GameTime time, bool skipWasUpdatedFlush = false)
 {
     base.updateEvenIfFarmerIsntHere(time, skipWasUpdatedFlush);
     if (Game1.currentLocation.Equals(( GameLocation )this))
     {
         return;
     }
     NetDictionary <long, FarmAnimal, NetRef <FarmAnimal>, SerializableDictionary <long, FarmAnimal>, NetLongDictionary <FarmAnimal, NetRef <FarmAnimal> > > .PairsCollection pairs = this.Animals.Pairs;
     for (int index = pairs.Count() - 1; index >= 0; --index)
     {
         pairs.ElementAt(index).Value.updateWhenNotCurrentLocation(( Building )null, time, ( GameLocation )this);
     }
 }