示例#1
0
 public void FastForward(int seconds)
 {
     if (RemainingTicks > 0)
     {
         AdjustEndSubTick(LogicTime.GetSecondsInTicks(seconds));
     }
 }
示例#2
0
 public void StartTimer(int seconds)
 {
     TotalTicks     = LogicTime.GetSecondsInTicks(seconds);
     RemainingTicks = TotalTicks;
     EndTimestamp   = TimeUtils.CurrentUnixTimestamp + seconds;
 }