public void Deselect(RangedWeapon weapon) { if (!Selected[weapon]) { throw new Exception(); } Selected[weapon] = false; weapon.attackDamage.buffs.Remove(damage); }
public void Select(RangedWeapon weapon) { Selected[weapon] = true; connected.Add(weapon); weapon.attackDamage.buffs.Add(damage); }