public bool Remove(string id) { if (Boosts.ContainsKey(id)) { Boosts.Remove(id); Recompute(); return(true); } return(false); }
public double GetBoostValue(string boostId) => Boosts.ContainsKey(boostId) ? Boosts[boostId].Value : 1.0;