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/Clyde.java | 40 +++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 src/ch/epfl/maze/physical/pacman/Clyde.java (limited to 'src/ch/epfl/maze/physical/pacman/Clyde.java') diff --git a/src/ch/epfl/maze/physical/pacman/Clyde.java b/src/ch/epfl/maze/physical/pacman/Clyde.java new file mode 100644 index 0000000..4da35d8 --- /dev/null +++ b/src/ch/epfl/maze/physical/pacman/Clyde.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; + +/** + * Orange ghost from the Pac-Man game, alternates between direct chase if far + * from its target and SCATTER if close. + * + */ + +public class Clyde extends Predator { + + /** + * Constructs a Clyde with a starting position. + * + * @param position + * Starting position of Clyde in the labyrinth + */ + + public Clyde(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