public class Hero extends Thing
Constructor and Description |
---|
Hero(int row,
int col) |
Modifier and Type | Method and Description |
---|---|
int |
getArrows() |
Direction |
getDirection() |
int |
getScore() |
boolean |
isGold() |
void |
setArrows(int arrows) |
void |
setDirection(Direction direction) |
void |
setGold(boolean gold) |
void |
setScore(int score) |
String |
toString() |
public int getArrows()
public void setArrows(int arrows)
public int getScore()
public void setScore(int score)
public Direction getDirection()
public void setDirection(Direction direction)
public boolean isGold()
public void setGold(boolean gold)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.