public BoolSwitch(bool val, float cooldown) { this.val = val; this.cooldowntimer = new CooldownTimer(cooldown); }
public void AddTimer() { CooldownTimer.AddTimer(cooldowntimer); }
internal void ResetTimer() { CooldownTimer.AddTimer(cooldowntimer); }
public static void AddTimer(CooldownTimer t) { Timers.Add(t); }