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

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!