Ghost
public interface Ighost
Modifier and Type | Method | Description |
---|---|---|
Direction |
getDirection() |
get the direction of the Ghost
|
GhostType |
getGhostType() |
get the type of the ghost
|
int |
getPositionX() |
get the position in X
|
int |
getPositionY() |
get the position in Y
|
boolean |
isFleeing() |
A gost in flee can be eaten pacman
|
int getPositionX()
int getPositionY()
Direction getDirection()
GhostType getGhostType()
boolean isFleeing()