Download

Error help!

I am trying to call the fire method from my ScarAssaultRifle class from my character class but every time i try to shoot it just crashes all my other methods work but the fire one doesn’t
Gun class:

Character class:
b47493dfaf9dad7ed0231693a6503448.png e068ecc01eaf14f7e1e2e849d6298a7f6950753b.png cb43054b89f8dd4b5d3235183158cae4.png 73b6d88d2bab9fb05883b53bb875bd016569123d.png