public static void EnvironmentChangeTypeHook(AIProject.TimeZone zone)
            {
                if (zone == AIProject.TimeZone.Morning)
                {
                    OnDayChange(_day);
                    _day++;
                }

                OnPeriodChange(zone);//morning, day, evening
            }
 protected override void OnPeriodChange(AIProject.TimeZone period)
 {
     ProcessPendingChanges();
 }
Example #3
0
 /// <summary>
 /// Triggered when the current time of the day changes in story mode (morning, noon, night).
 /// </summary>
 protected internal virtual void OnPeriodChange(AIProject.TimeZone period)
 {
 }