public void Remove(Cooldown cooldown) { CooldownDictionary.TryRemove(cooldown.Id, out _); cooldown.Id = -1; }
public void Add(Cooldown cooldown) { cooldown.Id = GetNextId(); CooldownDictionary.TryAdd(cooldown.Id, cooldown); }