diff options
author | Pacien TRAN-GIRARD | 2015-11-21 10:36:18 +0100 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2015-11-21 10:36:18 +0100 |
commit | 655ac88f4e73b2df532a451aedf5a561ea1b0d2c (patch) | |
tree | ef6f914a465575f313e2b280bf0639d87a4cbd58 /src/ch/epfl/maze/physical/pacman/Inky.java | |
parent | 56279eb59ccdea48b18daa027a5095d861b4e2f4 (diff) | |
download | maze-solver-655ac88f4e73b2df532a451aedf5a561ea1b0d2c.tar.gz |
Import project structure
Diffstat (limited to 'src/ch/epfl/maze/physical/pacman/Inky.java')
-rw-r--r-- | src/ch/epfl/maze/physical/pacman/Inky.java | 40 |
1 files changed, 40 insertions, 0 deletions
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 @@ | |||
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 | * Blue ghost from the Pac-Man game, targets the result of two times the vector | ||
11 | * from Blinky to its target. | ||
12 | * | ||
13 | */ | ||
14 | |||
15 | public class Inky extends Predator { | ||
16 | |||
17 | /** | ||
18 | * Constructs a Inky with a starting position. | ||
19 | * | ||
20 | * @param position | ||
21 | * Starting position of Inky in the labyrinth | ||
22 | */ | ||
23 | |||
24 | public Inky(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 | } | ||