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
///armor.h
#pragma once
#include "item.h"
#include <string>
class Armor:public Item
{
public:
///for some reason when I put this in armor.cpp file it produces an undefined reference error
Armor(int _ID,std::string _name,int _stat):Item( _ID,_name,_stat,"armor")
{
name = _name;
stat = _stat;
ID = _ID;
}
Armor* Item_getter() const;
int get_ID();
std::string get_item_type(){return item_type;}
~Armor(){};
void display_item() const;
};