public class LifeMushroom extends Item
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
IMAGE_FILENAME
The item image filename
|
static int |
ITEM_NUM_ID
The item number ID
|
static java.lang.String |
NAME
The item name
|
static int |
PRICE
The item price
|
h, image, IMAGE_BASE_PATH, imageFilename, item_num_id, items, name, price, w, x, y| Constructor and Description |
|---|
LifeMushroom()
The default constructor used to create the item
|
| Modifier and Type | Method and Description |
|---|---|
void |
use()
Describes the interaction when the player uses the item
|
paint, updateItemListpublic static final int ITEM_NUM_ID
public static final java.lang.String NAME
public static final int PRICE
public static final java.lang.String IMAGE_FILENAME