Commit 3f5c79a3 authored by Milwaukee Davis's avatar Milwaukee Davis
Browse files

Reupload Item class header

parent cb18b163
//filename: item.h
//Contains the implementation of the more complicated functions from the item class, which represents the items the player is carrying in the form of several dynamic arrays.
//Item accepts new items from the Monster class upon the player 'beating' the room, and allows the player to change which item they have equipped through the Player class.
#ifndef ITEM_H
#define ITEM_H
#include <string>
using namespace std;
class Item{
string itemName;
int itemFight;
int itemTalk;
Item(string lootName, int lootFight, int lootTalk){
itemName = lootName;
itemFight = lootFight;
itemTalk = lootTalk;
string getName(){
return itemName;
int getFight(){
return itemFight;
int getTalk(){
return itemTalk;
#endif // ITEM_H
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment