diff options
Diffstat (limited to 'src/ch/epfl/maze/physical/pacman/Blinky.java')
-rw-r--r-- | src/ch/epfl/maze/physical/pacman/Blinky.java | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/ch/epfl/maze/physical/pacman/Blinky.java b/src/ch/epfl/maze/physical/pacman/Blinky.java new file mode 100644 index 0000000..22ef16f --- /dev/null +++ b/src/ch/epfl/maze/physical/pacman/Blinky.java | |||
@@ -0,0 +1,39 @@ | |||
1 | package ch.epfl.maze.physical.pacman; | ||
2 | |||
3 | import ch.epfl.maze.physical.Animal; | ||
4 | import ch.epfl.maze.physical.Daedalus; | ||
5 | import ch.epfl.maze.physical.Predator; | ||
6 | import ch.epfl.maze.util.Direction; | ||
7 | import ch.epfl.maze.util.Vector2D; | ||
8 | |||
9 | /** | ||
10 | * Red ghost from the Pac-Man game, chases directly its target. | ||
11 | * | ||
12 | */ | ||
13 | |||
14 | public class Blinky extends Predator { | ||
15 | |||
16 | /** | ||
17 | * Constructs a Blinky with a starting position. | ||
18 | * | ||
19 | * @param position | ||
20 | * Starting position of Blinky in the labyrinth | ||
21 | */ | ||
22 | |||
23 | public Blinky(Vector2D position) { | ||
24 | super(position); | ||
25 | // TODO | ||
26 | } | ||
27 | |||
28 | @Override | ||
29 | public Direction move(Direction[] choices, Daedalus daedalus) { | ||
30 | // TODO | ||
31 | return Direction.NONE; | ||
32 | } | ||
33 | |||
34 | @Override | ||
35 | public Animal copy() { | ||
36 | // TODO | ||
37 | return null; | ||
38 | } | ||
39 | } | ||