Пример #1
0
 internal override void DayUpdate(DataLock dataLock)
 {
     dataLock.Write(() =>
     {
         CurrentDate   = NextDay(CurrentDate);
         CurrentSeason = Season.CurrentSeason(_seasons, this);
         CurrentSeasonLength++;
     });
     Tags.DayUpdate(dataLock);
     TryTriggerEvents(_events, this.Yield(), dataLock);
 }