예제 #1
0
 /**
  * Creates a new Clyde / Pokey, the orange Ghost.
  *
  * @see Clyde
  * @return A new Clyde.
  */
 public Ghost createClyde() {
   return new Clyde(sprites.getGhostSprite(GhostColor.ORANGE));
 }
예제 #2
0
 /**
  * Creates a new Pinky / Speedy, the pink Ghost.
  *
  * @see Pinky
  * @return A new Pinky.
  */
 public Ghost createPinky() {
   return new Pinky(sprites.getGhostSprite(GhostColor.PINK));
 }
예제 #3
0
 /**
  * Creates a new Inky / Bashful, the cyan Ghost.
  *
  * @see Inky
  * @return A new Inky.
  */
 public Ghost createInky() {
   return new Inky(sprites.getGhostSprite(GhostColor.CYAN));
 }
예제 #4
0
 /**
  * Creates a new Blinky / Shadow, the red Ghost.
  *
  * @see Blinky
  * @return A new Blinky.
  */
 public Ghost createBlinky() {
   return new Blinky(sprites.getGhostSprite(GhostColor.RED));
 }