diff options
author | Pacien TRAN-GIRARD | 2015-11-22 18:56:56 +0100 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2015-11-22 18:56:56 +0100 |
commit | 9811ea74bcc9793a1ba6659aab850259e5671763 (patch) | |
tree | b79433e546db6d27fc944b735c72bba670321297 /src/ch/epfl/maze/physical/pacman/Blinky.java | |
parent | 04fa54cd5132aab16104a5dbbccbbdb18243aab6 (diff) | |
download | maze-solver-9811ea74bcc9793a1ba6659aab850259e5671763.tar.gz |
Implement Predator and distinguish derived GhostPredator
Diffstat (limited to 'src/ch/epfl/maze/physical/pacman/Blinky.java')
-rw-r--r-- | src/ch/epfl/maze/physical/pacman/Blinky.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ch/epfl/maze/physical/pacman/Blinky.java b/src/ch/epfl/maze/physical/pacman/Blinky.java index 02b7159..f91f5e0 100644 --- a/src/ch/epfl/maze/physical/pacman/Blinky.java +++ b/src/ch/epfl/maze/physical/pacman/Blinky.java | |||
@@ -2,7 +2,7 @@ package ch.epfl.maze.physical.pacman; | |||
2 | 2 | ||
3 | import ch.epfl.maze.physical.Animal; | 3 | import ch.epfl.maze.physical.Animal; |
4 | import ch.epfl.maze.physical.Daedalus; | 4 | import ch.epfl.maze.physical.Daedalus; |
5 | import ch.epfl.maze.physical.Predator; | 5 | import ch.epfl.maze.physical.GhostPredator; |
6 | import ch.epfl.maze.util.Direction; | 6 | import ch.epfl.maze.util.Direction; |
7 | import ch.epfl.maze.util.Vector2D; | 7 | import ch.epfl.maze.util.Vector2D; |
8 | 8 | ||
@@ -10,7 +10,7 @@ import ch.epfl.maze.util.Vector2D; | |||
10 | * Red ghost from the Pac-Man game, chases directly its target. | 10 | * Red ghost from the Pac-Man game, chases directly its target. |
11 | */ | 11 | */ |
12 | 12 | ||
13 | public class Blinky extends Predator { | 13 | public class Blinky extends GhostPredator { |
14 | 14 | ||
15 | /** | 15 | /** |
16 | * Constructs a Blinky with a starting position. | 16 | * Constructs a Blinky with a starting position. |