#BlueJ class context comment0.target=Shop comment0.text=\r\n\ This\ models\ a\ videogame\ shop.\ This\ class\ represents\ an\ NPC\ running\ it.\r\n\ The\ currency\ used\ are\ emeralds\ and\ each\ item\ as\ a\ value\ of\ emeralds.\ Emeralds\ are\ always\ in\ whole\ numbers\!\r\n\ Prices\ and\ their\ value\:\r\n\ Dirt\ \=\ 2\r\n\ Cobblestone\ \=\ 5\r\n\ Wood\ \=\ 5\r\n\ Iron\ Ore\ \=\ 30\r\n\ Diamond\ \=\ 200\r\n\ \r\n\ This\ class\ is\ mainly\ used\ for\ the\ Extension.\ You\ should\ also\ comment\ the\ methods/functions\ appropriately\ with\ for\ remove\ and\ add.\r\n comment1.params= comment1.target=Shop() comment1.text=\r\n\ Constructor\ for\ objects\ of\ class\ Shop.\ We\ initialize\ the\ shop\ by\ creating\ Item\ objects\ and\ adding\ it\ to\ the\ array.\r\n comment2.params=name comment2.target=void\ addItem(java.lang.String) comment2.text=\r\n\ Method\ addItem\r\n\r\n\ @param\ name\ A\ parameter\r\n comment3.params= comment3.target=void\ stockSummary() comment3.text=\r\n\ Prints\ out\ the\ total\ value\ of\ the\ stock.\r\n\ Print\ out\ the\ contents\ of\ the\ shop.\r\n\ Challenge\:\ Print\ out\ the\ shop\ in\ a\ nicer\ way.\ Such\ 4xCobblestone,\ 2xWood\ etc,\ rather\ than\ just\ printing\ out\ the\ entire\ collection.\r\n numComments=4