private void RemoveRangedWeapon(RangedWeapon item) { RangedWeapons.Remove(item); //foreach (WeaponCombinationHolder holder in OwnedWeaponCombinations) //{ // if (holder.WeaponGuid1 == item.Guid) // OwnedWeaponCombinations.Remove(holder); //} RemoveWeaponCombination(item.Guid); }
public SingleRangedWeaponCombination(string combinationName, RangedWeapon meleeWeapon) : base(combinationName) { _weapon = meleeWeapon; //CombinationName = combinationName; }
private void AddRangedWeapon(RangedWeapon item) { RangedWeapons.Add(item); OwnedWeaponCombinations.Add(new WeaponCombinationHolder(item.Name, item.Guid, null)); }