Ejemplo n.º 1
0
 /// <summary>
 /// Moves the specified occurrence backward on the timeline by the specified delay in seconds.
 /// </summary>
 public void Prepone(Occurrence occurrence, float delay)
 {
     Reschedule(occurrence, time - delay);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Change the absolute time in seconds of the specified occurrence on the timeline.
 /// </summary>
 public void Reschedule(Occurrence occurrence, float time)
 {
     occurrence.time = time;
     PlaceOccurence(occurrence, time);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Moves the specified occurrence forward on the timeline by the specified delay in seconds.
 /// </summary>
 public void Postpone(Occurrence occurrence, float delay)
 {
     Reschedule(occurrence, time + delay);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Executes an occurrence now and places it on the schedule for rewinding.
 /// </summary>
 public Occurrence Do(bool repeatable, Occurrence occurrence)
 {
     return(Schedule(time, repeatable, occurrence));
 }