//takes in all weapon variables and turns them into their damage
 void calculateDamage()
 {
     //1.BarrelModifier 2.base player damage. 3.baseAmmoDamage
     damage = (ammoDamage * barrelDamageMultiplier) + baseDamage + ammoDamage;
     damageText.display(damage);
     damageText.displayAmmo(ammoDamage);
     damageText.displayBarrel(barrelDamageMultiplier * ammoDamage);
 }
 void damageCalculator()
 {
     barrelDamage = barrelModifer * baseDamage * ammoDamageWeight;
     ammoDamage   = ammoModifier * baseDamage * ammoDamageWeight;
     damage       = ammoDamage + barrelDamage;
     damageText.display(damage);
     damageText.displayBarrel(barrelDamage * barrelDamageWeight);
     damageText.displayAmmo(ammoDamage * ammoDamageWeight);
 }
 //takes in all weapon variables and turns them into their damage
 void calculateDamage()
 {
     //1.BarrelModifier 2.base player damage. 3.baseAmmoDamage
     damage = (ammoDamage * barrelDamageMultiplier) + ammoDamage;
     damageText.display(damage);
     damageText.displayAmmo(ammoDamage);
     damageText.displayBarrel(barrelDamageMultiplier * ammoDamage);
     damageText.displayAccuracy(accuracyMultiplier * baseAccuracy);
     damageText.displayMagSize(magazineCapacity);
 }