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