Constructor and Description |
---|
Zombie()
creates a zombie with 15 hitPoints and 2 attack with no random movement
with icon Z
|
Zombie(int typeOfMovement)
creates a Zombie with 15 HP and 2 attack with icon Z
|
Zombie(int hitPoints,
int attack,
int typeOfMovement)
creates a zombie with hit points, attack, and random movement with icon Z
|
Zombie(int hitPoints,
int att,
int typeOfMove,
int points)
creates a Zombie to the parameters given to it
|
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
|
attacking, getAttack, getDirection, getHitPoints, getPointValue, getTypeOfPiece, setAttack, setHitPoints, setLevelBonus, setMonsterPosition, setPointValue, setTypeOfPiece
public Zombie()
public Zombie(int typeOfMovement)
typeOfMovement
- whether or not the monster will move randomlypublic Zombie(int hitPoints, int attack, int typeOfMovement)
hitPoints
- the Zombie's hitPointsattack
- the Zombie's attacktypeOfMovement
- whether or not the Zombie will move randomly or notpublic Zombie(int hitPoints, int att, int typeOfMove, int points)
hitPoints
- the Zombie's hitPointsatt
- the Zombie's attacktypeOfMove
- whether or not the Zombie will move randomly or notpoints
- the amount of points the Zombie is worth