Implemented weapon store with ability to purchase weapons and ammo for them. Can be accessed by pressing the B button, which also pauses the game. Prices for weapons and ammo currently set to 0 for testing. Noticed issue that could affect gameplay where the mouse click position is to the top left of the cursor image. Will have to figure out how to offset it to the center of the image for all mouse clicks. Refactored a lot of classes to compensate for changes.
Implemented weapon store with ability to purchase weapons and ammo for them. Can be accessed by pressing the B button, which also pauses the game. Prices for weapons and ammo currently set to 0 for testing. Noticed issue that could affect gameplay where the mouse click position is to the top left of the cursor image. Will have to figure out how to offset it to the center of the image for all mouse clicks. Refactored a lot of classes to compensate for changes. Ammo crates still spawn as per usual.