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