Sasha D.

asked • 04/27/21

Object-Oriented Programming

Create a java source where the player is interacting with the following items at the following places with the following people:


Item - Magic Sword; Place - forest; received from a crazy old man; used to defeat a group of bandits.

Item - Unicorn horn; Place - forest; taken from a unicorn's head after being defeated.

Item - Magic gems; Place - forest (taken after defeating the bandits) and a market (it was stolen from the

player).

Item - Magic gems; Place - sorcerer's tower; use to pay for the sorcerer services.


Use the following starter code to help:

public class Item {

String name;

boolean embeded;

String shortDesc;

String description;

ArrayList<String> status = new ArrayList<String>();


public Item (){};


public Item(String n, String d){

name = n;

embeded = false;

shortDesc = d;

}


public String getDesc() {

return description;

}

}


1 Expert Answer

By:

Patrick B. answered • 04/28/21

Tutor
4.7 (31)

Math and computer tutor/teacher

Sasha D.

Thank you so much
Report

04/28/21

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.