Esempio 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);
 }
Esempio 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);
 }
Esempio 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);
 }
Esempio 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));
 }