From 9811ea74bcc9793a1ba6659aab850259e5671763 Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Sun, 22 Nov 2015 18:56:56 +0100 Subject: Implement Predator and distinguish derived GhostPredator --- src/ch/epfl/maze/physical/pacman/Blinky.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ch/epfl/maze/physical/pacman/Blinky.java') 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; import ch.epfl.maze.physical.Animal; import ch.epfl.maze.physical.Daedalus; -import ch.epfl.maze.physical.Predator; +import ch.epfl.maze.physical.GhostPredator; import ch.epfl.maze.util.Direction; import ch.epfl.maze.util.Vector2D; @@ -10,7 +10,7 @@ import ch.epfl.maze.util.Vector2D; * Red ghost from the Pac-Man game, chases directly its target. */ -public class Blinky extends Predator { +public class Blinky extends GhostPredator { /** * Constructs a Blinky with a starting position. -- cgit v1.2.3