Пример #1
0
 public void FastForwardTime(int secs)
 {
     this.m_cooldownTime = LogicMath.Max(this.m_cooldownTime - LogicTime.GetCooldownSecondsInTicks(secs), 0);
 }
Пример #2
0
 public LogicCooldown(int targetGlobalId, int cooldownSecs)
 {
     this.m_targetGlobalId = targetGlobalId;
     this.m_cooldownTime   = LogicTime.GetCooldownSecondsInTicks(cooldownSecs);
 }