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