-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathItem.cpp
More file actions
32 lines (23 loc) · 800 Bytes
/
Item.cpp
File metadata and controls
32 lines (23 loc) · 800 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/********************************************************************************************************
** Program Name: Final Project - A Text-based Game- item.cpp
** Author: Andrew Friedrich
** Date: 06/01/2019
** Description: This file is the Final Project - A Text-based Game - item.cpp - source
** file. This file enables the utilization of the games item forcelance and sword
**
*********************************************************************************************************/
#include "Item.hpp"
// default constructor
Item::Item(std::string descriptionz)
{
this->descriptionz = descriptionz;
}
// getter for item description
std::string Item::getItem_Description()
{
return descriptionz;
}
// default deconstructor
Item::~Item()
{
}