Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.*;
- abstract class Ghost extends Creature {
- //public Location targetTile, cornerTile;
- //public boolean scatterMode, frightenedMode, chaseMode;
- //public boolean inHouse;
- //public int dotsEaten = 0;
- //public int dotLimit;
- //void eatPacMan();
- abstract boolean scatter();
- abstract boolean frightened();
- abstract void setTargetTile();
- abstract boolean chase();
- abstract void setCornerTile();
- }
Add Comment
Please, Sign In to add comment