The weapon currently only fires the size of the clip and can have infinite reloads. What we want is for the weapon to contain the default amount of ammo that it can hold.
Acceptance Criteria
[x] The weapon can only fire the amount of ammo that it has
[x] The weapon can only fire the size of the clip loaded
[x] If the weapon only has 5 rounds left, reloading will load a new clip only containing the 5 rounds + any remainder
[x] Only the default amount of ammo should be given to the weapon on first load.
[x] UI only shows the total ammo count for the weapon
Implementation
Implement new variable to contain this value
Calculations should be adjusted to account for the total ammo count
The UI should be updatable and show the value contained for the weapon
Description
The weapon currently only fires the size of the clip and can have infinite reloads. What we want is for the weapon to contain the default amount of ammo that it can hold.
Acceptance Criteria
Implementation