Ejemplo n.º 1
0
 public bool Iterate()
 {
     if (!executed)
     {
         if (scaled.Value)
         {
             ScaledTimeEventHandler.ExecuteThroughTime(Action, delay.Value);
         }
         else
         {
             UnscaledTimeEventHandler.ExecuteThroughTime(Action, delay.Value);
         }
     }
     return(executed);
 }
Ejemplo n.º 2
0
 public bool Iterate()
 {
     if (!executed)
     {
         if (scaled.Value)
         {
             ScaledTimeEventHandler.ExecuteOnTime(Action, time.Value);
         }
         else
         {
             UnscaledTimeEventHandler.ExecuteOnTime(Action, time.Value);
         }
     }
     return(executed);
 }