summaryrefslogtreecommitdiff
path: root/src/ch/epfl/maze/physical/pacman
diff options
context:
space:
mode:
Diffstat (limited to 'src/ch/epfl/maze/physical/pacman')
-rw-r--r--src/ch/epfl/maze/physical/pacman/Blinky.java4
-rw-r--r--src/ch/epfl/maze/physical/pacman/Clyde.java4
-rw-r--r--src/ch/epfl/maze/physical/pacman/Inky.java4
-rw-r--r--src/ch/epfl/maze/physical/pacman/Pinky.java4
4 files changed, 8 insertions, 8 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
3import ch.epfl.maze.physical.Animal; 3import ch.epfl.maze.physical.Animal;
4import ch.epfl.maze.physical.Daedalus; 4import ch.epfl.maze.physical.Daedalus;
5import ch.epfl.maze.physical.Predator; 5import ch.epfl.maze.physical.GhostPredator;
6import ch.epfl.maze.util.Direction; 6import ch.epfl.maze.util.Direction;
7import ch.epfl.maze.util.Vector2D; 7import 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
13public class Blinky extends Predator { 13public class Blinky extends GhostPredator {
14 14
15 /** 15 /**
16 * Constructs a Blinky with a starting position. 16 * Constructs a Blinky with a starting position.
diff --git a/src/ch/epfl/maze/physical/pacman/Clyde.java b/src/ch/epfl/maze/physical/pacman/Clyde.java
index 35d0a9b..6b3bef3 100644
--- a/src/ch/epfl/maze/physical/pacman/Clyde.java
+++ b/src/ch/epfl/maze/physical/pacman/Clyde.java
@@ -2,7 +2,7 @@ package ch.epfl.maze.physical.pacman;
2 2
3import ch.epfl.maze.physical.Animal; 3import ch.epfl.maze.physical.Animal;
4import ch.epfl.maze.physical.Daedalus; 4import ch.epfl.maze.physical.Daedalus;
5import ch.epfl.maze.physical.Predator; 5import ch.epfl.maze.physical.GhostPredator;
6import ch.epfl.maze.util.Direction; 6import ch.epfl.maze.util.Direction;
7import ch.epfl.maze.util.Vector2D; 7import ch.epfl.maze.util.Vector2D;
8 8
@@ -11,7 +11,7 @@ import ch.epfl.maze.util.Vector2D;
11 * from its target and SCATTER if close. 11 * from its target and SCATTER if close.
12 */ 12 */
13 13
14public class Clyde extends Predator { 14public class Clyde extends GhostPredator {
15 15
16 /** 16 /**
17 * Constructs a Clyde with a starting position. 17 * Constructs a Clyde with a starting position.
diff --git a/src/ch/epfl/maze/physical/pacman/Inky.java b/src/ch/epfl/maze/physical/pacman/Inky.java
index e5cf5ad..146ecef 100644
--- a/src/ch/epfl/maze/physical/pacman/Inky.java
+++ b/src/ch/epfl/maze/physical/pacman/Inky.java
@@ -2,7 +2,7 @@ package ch.epfl.maze.physical.pacman;
2 2
3import ch.epfl.maze.physical.Animal; 3import ch.epfl.maze.physical.Animal;
4import ch.epfl.maze.physical.Daedalus; 4import ch.epfl.maze.physical.Daedalus;
5import ch.epfl.maze.physical.Predator; 5import ch.epfl.maze.physical.GhostPredator;
6import ch.epfl.maze.util.Direction; 6import ch.epfl.maze.util.Direction;
7import ch.epfl.maze.util.Vector2D; 7import ch.epfl.maze.util.Vector2D;
8 8
@@ -11,7 +11,7 @@ import ch.epfl.maze.util.Vector2D;
11 * from Blinky to its target. 11 * from Blinky to its target.
12 */ 12 */
13 13
14public class Inky extends Predator { 14public class Inky extends GhostPredator {
15 15
16 /** 16 /**
17 * Constructs a Inky with a starting position. 17 * Constructs a Inky with a starting position.
diff --git a/src/ch/epfl/maze/physical/pacman/Pinky.java b/src/ch/epfl/maze/physical/pacman/Pinky.java
index 100264c..3e4209d 100644
--- a/src/ch/epfl/maze/physical/pacman/Pinky.java
+++ b/src/ch/epfl/maze/physical/pacman/Pinky.java
@@ -2,7 +2,7 @@ package ch.epfl.maze.physical.pacman;
2 2
3import ch.epfl.maze.physical.Animal; 3import ch.epfl.maze.physical.Animal;
4import ch.epfl.maze.physical.Daedalus; 4import ch.epfl.maze.physical.Daedalus;
5import ch.epfl.maze.physical.Predator; 5import ch.epfl.maze.physical.GhostPredator;
6import ch.epfl.maze.util.Direction; 6import ch.epfl.maze.util.Direction;
7import ch.epfl.maze.util.Vector2D; 7import ch.epfl.maze.util.Vector2D;
8 8
@@ -10,7 +10,7 @@ import ch.epfl.maze.util.Vector2D;
10 * Pink ghost from the Pac-Man game, targets 4 squares in front of its target. 10 * Pink ghost from the Pac-Man game, targets 4 squares in front of its target.
11 */ 11 */
12 12
13public class Pinky extends Predator { 13public class Pinky extends GhostPredator {
14 14
15 /** 15 /**
16 * Constructs a Pinky with a starting position. 16 * Constructs a Pinky with a starting position.