From 655ac88f4e73b2df532a451aedf5a561ea1b0d2c Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Sat, 21 Nov 2015 10:36:18 +0100 Subject: Import project structure --- src/ch/epfl/maze/physical/pacman/Pinky.java | 39 +++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 src/ch/epfl/maze/physical/pacman/Pinky.java (limited to 'src/ch/epfl/maze/physical/pacman/Pinky.java') diff --git a/src/ch/epfl/maze/physical/pacman/Pinky.java b/src/ch/epfl/maze/physical/pacman/Pinky.java new file mode 100644 index 0000000..9a64a53 --- /dev/null +++ b/src/ch/epfl/maze/physical/pacman/Pinky.java @@ -0,0 +1,39 @@ +package ch.epfl.maze.physical.pacman; + +import ch.epfl.maze.physical.Animal; +import ch.epfl.maze.physical.Daedalus; +import ch.epfl.maze.physical.Predator; +import ch.epfl.maze.util.Direction; +import ch.epfl.maze.util.Vector2D; + +/** + * Pink ghost from the Pac-Man game, targets 4 squares in front of its target. + * + */ + +public class Pinky extends Predator { + + /** + * Constructs a Pinky with a starting position. + * + * @param position + * Starting position of Pinky in the labyrinth + */ + + public Pinky(Vector2D position) { + super(position); + // TODO + } + + @Override + public Direction move(Direction[] choices, Daedalus daedalus) { + // TODO + return Direction.NONE; + } + + @Override + public Animal copy() { + // TODO + return null; + } +} -- cgit v1.2.3