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