Commit 7c66d378 authored by Milwaukee Davis's avatar Milwaukee Davis
Browse files

Updated item.cpp to be compatible with the current version of Player.

parent db73fb10
......@@ -21,7 +21,7 @@ void Item::gainItem(string lootName, int lootFight, int lootFlee , int lootTalk)
}
//outputs the inventory array
void Item::displayItems(){
void Item::listInventory(){
for(int i = 0; i < itemName.size(); i++){
cout << itemName.at(i) << ": Fight: " << itemFight.at(i) << " Flee: "<< itemFlee.at(i) << " Talk: " << itemTalk.at(i) << endl;
}
......
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