Exemplo n.º 1
0
 public void UpdateTime()
 {
     timeOfDay.AddOneMinute();
     DisplayTime();
     if (timeOfDay.IsQuarterHour()) // Will be true every 15 in game minutes
     {
         if (OnQuarterUpdate != null)
         {
             OnQuarterUpdate();
         }
     }
 }