Constructor and Description |
---|
Beef()
this is the default constructor for the Beef.
|
Beef(boolean use)
this is an 1 arg consrtuctor that will set whether the item has been used or not
|
Beef(int buffs)
this is an 1 arg consrtuctor that will set how much the beef will increase the player's attack
|
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 Beef()
public Beef(int buffs)
buffs
- this will be the value the programmer or computer wants the beef to add to the players attackpublic Beef(boolean use)
use
- is the param to set the use of the item to true or false.