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/Inky.java | 40 ++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 src/ch/epfl/maze/physical/pacman/Inky.java (limited to 'src/ch/epfl/maze/physical/pacman/Inky.java') diff --git a/src/ch/epfl/maze/physical/pacman/Inky.java b/src/ch/epfl/maze/physical/pacman/Inky.java new file mode 100644 index 0000000..87d9626 --- /dev/null +++ b/src/ch/epfl/maze/physical/pacman/Inky.java @@ -0,0 +1,40 @@ +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; + +/** + * Blue ghost from the Pac-Man game, targets the result of two times the vector + * from Blinky to its target. + * + */ + +public class Inky extends Predator { + + /** + * Constructs a Inky with a starting position. + * + * @param position + * Starting position of Inky in the labyrinth + */ + + public Inky(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