Items and classes added
This commit is contained in:
@@ -28,4 +28,6 @@ garlic, item
|
|||||||
robes, item
|
robes, item
|
||||||
water bottle, item
|
water bottle, item
|
||||||
pen, item
|
pen, item
|
||||||
book, item
|
book, item
|
||||||
|
socks, item
|
||||||
|
painting, item
|
||||||
7
src/com/bayviewglen/zork/Items/Painting.java
Normal file
7
src/com/bayviewglen/zork/Items/Painting.java
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
package com.bayviewglen.zork.Items;
|
||||||
|
public class Painting extends Item{
|
||||||
|
|
||||||
|
public Painting(){
|
||||||
|
super(14, "Painting", "An antique painting made from vibrant colours with an artists signature in the bottom right corner", false, 50, 1);
|
||||||
|
}
|
||||||
|
}
|
||||||
8
src/com/bayviewglen/zork/Items/Socks.java
Normal file
8
src/com/bayviewglen/zork/Items/Socks.java
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
package com.bayviewglen.zork.Items;
|
||||||
|
public class Socks extends Item{
|
||||||
|
|
||||||
|
public Socks(){
|
||||||
|
super(13, "Socks", "Old socks with a lot of wear and tear, worn by Henry Pellatt", false, 5, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user