WorldClock/Scripts/TimeData.cs
/// <summary>
/// Moves the TimeData object forward an hour and calls any events that many occur during that rollover
/// </summary>
Moves the TimeData object forward an hour and calls any events that many occur during that rollover
Moves the TimeData object forward an hour and calls any events that many occur during that rollover
public virtual void AddAnHour()
    {
        if (hours + 1 == MyGlobalTime.hoursInADay)
        {
            hours = 0;
            AddADay();
        }
        else
            hours += 1;
        if (NewHour != null)
            NewHour();
    }
public virtual void AddAnHour ( ) { if ( hours + 1 == MyGlobalTime . hoursInADay ) { hours = 0 ; AddADay ( ) ; } else hours += 1 ; if ( NewHour != null ) NewHour ( ) ; }
Moves the TimeData object forward an hour and calls any events that many occur during that rollover
Moves the TimeData object forward an hour and calls any events that many occur during that rollover