Question: Using the attached java codes: need the following 1 . Add new class Item: name weight Each room can have a list of items 2
Using the attached java codes: need the following
Add new class Item:
name
weight
Each room can have a list of items
Add two commands:
look: return items in the current room
grab : take the in the current room
Refactor to your program for the above changes
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
