TheCOSCGameProject  1.0
weapon.cpp File Reference

Implements the Weapon class for managing weapon data in the Valeris game. More...

#include <iostream>
#include <unordered_map>
#include <vector>
#include <cstdlib>
#include <ctime>
#include "../lib/weapon.h"
Include dependency graph for weapon.cpp:

Detailed Description

Implements the Weapon class for managing weapon data in the Valeris game.

This file defines the methods of the Weapon class, which is responsible for handling various weapons, including generating random weapons, filtering weapons by rarity, and accessing weapon attributes.