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