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