Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Aaron Sturtevant
cptr142_group_project
Commits
7c66d378
Commit
7c66d378
authored
Mar 14, 2018
by
Milwaukee Davis
Browse files
Updated item.cpp to be compatible with the current version of Player.
parent
db73fb10
Changes
1
Hide whitespace changes
Inline
Side-by-side
item.cpp
View file @
7c66d378
...
...
@@ -21,7 +21,7 @@ void Item::gainItem(string lootName, int lootFight, int lootFlee , int lootTalk)
}
//outputs the inventory array
void
Item
::
d
is
playItems
(){
void
Item
::
l
is
tInventory
(){
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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment