Constructor and Description |
---|
Poison()
this is the default constructor for the Poison.
|
Poison(boolean use)
this is an 1 arg consrtuctor that will set whether the item has been used or not
|
Poison(int Health)
this is an 1 arg consrtuctor that will set how much the poison will take away
|
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 Poison()
public Poison(int Health)
Health
- this will be the value the programmer or computer wants the poison to damage for.public Poison(boolean use)
use
- is the param to set the use of the item to true or false.