Guest User

Ghost

a guest
Jun 19th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.44 KB | None | 0 0
  1. import java.util.*;
  2.  
  3. abstract class Ghost extends Creature {
  4.   //public Location targetTile, cornerTile;
  5.   //public boolean scatterMode, frightenedMode, chaseMode;
  6.   //public boolean inHouse;
  7.   //public int dotsEaten = 0;
  8.   //public int dotLimit;
  9.  
  10.   //void eatPacMan();
  11.   abstract boolean scatter();
  12.   abstract boolean frightened();
  13.   abstract void setTargetTile();
  14.   abstract boolean chase();
  15.   abstract void setCornerTile();
  16.  
  17.  
  18. }
Add Comment
Please, Sign In to add comment