summaryrefslogtreecommitdiff
path: root/src/ch/epfl/maze/physical/pacman/Clyde.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/ch/epfl/maze/physical/pacman/Clyde.java')
-rw-r--r--src/ch/epfl/maze/physical/pacman/Clyde.java40
1 files changed, 40 insertions, 0 deletions
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 @@
1package ch.epfl.maze.physical.pacman;
2
3import ch.epfl.maze.physical.Animal;
4import ch.epfl.maze.physical.Daedalus;
5import ch.epfl.maze.physical.Predator;
6import ch.epfl.maze.util.Direction;
7import ch.epfl.maze.util.Vector2D;
8
9/**
10 * Orange ghost from the Pac-Man game, alternates between direct chase if far
11 * from its target and SCATTER if close.
12 *
13 */
14
15public class Clyde extends Predator {
16
17 /**
18 * Constructs a Clyde with a starting position.
19 *
20 * @param position
21 * Starting position of Clyde in the labyrinth
22 */
23
24 public Clyde(Vector2D position) {
25 super(position);
26 // TODO
27 }
28
29 @Override
30 public Direction move(Direction[] choices, Daedalus daedalus) {
31 // TODO
32 return Direction.NONE;
33 }
34
35 @Override
36 public Animal copy() {
37 // TODO
38 return null;
39 }
40}