Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
///item.h
#pragma once
#include <string>
/// a parent class for armor and weapon
class Item
{
public:
std::string name;
int ID;
int stat;
std::string item_type;
/// Item; will be for creating an item on enemy death, later it will be utilizing databases
Item( int _ID,std::string _name,int stat,std::string _item_type);
virtual ~Item(){};
int get_ID();
std::string get_item_type();
virtual void display_item() const{};
};