| Modifier and Type | Field and Description |
|---|---|
protected Direction |
facing |
protected Status |
status |
| Constructor and Description |
|---|
Person(Coord loc,
java.lang.String repr,
Map map,
java.io.PrintStream log) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canLookThrough() |
boolean |
canPassThrough() |
abstract Coord |
chooseMove() |
void |
die() |
void |
doAction() |
boolean |
isSafe() |
void |
setLoc(Coord newLoc) |
getLoc, getPrevLoc, repr, toStringpublic abstract Coord chooseMove()
public boolean isSafe()
public void die()
public boolean canLookThrough()
public boolean canPassThrough()