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