public bool Iterate()
 {
     if (!executed)
     {
         if (scaled.Value)
         {
             ScaledTimeEventHandler.ExecuteThroughTime(Action, delay.Value);
         }
         else
         {
             UnscaledTimeEventHandler.ExecuteThroughTime(Action, delay.Value);
         }
     }
     return(executed);
 }
示例#2
0
 public bool Iterate()
 {
     if (!executed)
     {
         if (scaled.Value)
         {
             ScaledTimeEventHandler.ExecuteOnTime(Action, time.Value);
         }
         else
         {
             UnscaledTimeEventHandler.ExecuteOnTime(Action, time.Value);
         }
     }
     return(executed);
 }