Question: I need . java method in a text base adventure game, where a player can drop a item the function needs to be able to
I need java method in a text base adventure game, where a player can drop a item the function needs to be able to drop form inventory by typeing drop" item name it will remove the item form a inventory and and add it to the location the item will remain in that location until the player decides to "get" item name, if they are in the location.
Function method needs to
Remove form inventory
Adds the item to location
Items stays in tje location
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
