Constructor and Description |
---|
Golem()
creates a Golem with 25 hitPoints and 5 attack with no random movement
|
Golem(int typeOfMovement)
creates a Golem with 25 HP and 5 attack
|
Golem(int hitPoints,
int attack,
int typeOfMovement)
creates a Golem with hit points, attack, and random movement
|
Golem(int hp,
int att,
int typeOfMove,
int points)
creates a Golem 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 Golem()
public Golem(int typeOfMovement)
typeOfMovement
- whether or not the Golem will move randomlypublic Golem(int hitPoints, int attack, int typeOfMovement)
hitPoints
- the Golem's hitPointsattack
- the Golem's attacktypeOfMovement
- whether or not the Golem will move randomly or notpublic Golem(int hp, int att, int typeOfMove, int points)
hp
- the Golem's hitPointsatt
- the Golem's attacktypeOfMove
- whether or not the Golem will move randomly or notpoints
- the amount of points the Golem is worth