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