public class Elixir extends Item
Constructor and Description |
---|
Elixir()
default consturctor for Elixir
its default value is 1; with icon S
|
Elixir(boolean use)
this is an 1 arg consrtuctor that will set whether the item has been used or not
|
Modifier and Type | Method and Description |
---|---|
char |
getIcon()
This is the getter to figure out what piece icon it is.
|
void |
setIcon(char NewIcon)
This is the setter for the Icon it will be
|
void |
UseEffect(Player p)
this method uses the effect value in someway.
|
getEffect, getTypeOfPiece, getUse, setEffect, setTypeOfPiece, setUse
public Elixir()
public Elixir(boolean use)
use
- is the param to set the use state of the item to true or false.