summaryrefslogtreecommitdiff
path: root/src/ch/epfl
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2015-11-22 18:49:47 +0100
committerPacien TRAN-GIRARD2015-11-22 18:49:47 +0100
commit7009ff652c18a4e387dca4972e570bf1f56387c3 (patch)
tree36c0f5c56e298c01ce8c87daef1cfce9301015d3 /src/ch/epfl
parentc294cfcfc8757018c8a5c816d512a3343d2aa840 (diff)
downloadmaze-solver-7009ff652c18a4e387dca4972e570bf1f56387c3.tar.gz
Implement ghosts polymorphic copy methods
Diffstat (limited to 'src/ch/epfl')
-rw-r--r--src/ch/epfl/maze/physical/pacman/Blinky.java3
-rw-r--r--src/ch/epfl/maze/physical/pacman/Clyde.java3
-rw-r--r--src/ch/epfl/maze/physical/pacman/Inky.java3
-rw-r--r--src/ch/epfl/maze/physical/pacman/Pinky.java3
4 files changed, 4 insertions, 8 deletions
diff --git a/src/ch/epfl/maze/physical/pacman/Blinky.java b/src/ch/epfl/maze/physical/pacman/Blinky.java
index d70f444..02b7159 100644
--- a/src/ch/epfl/maze/physical/pacman/Blinky.java
+++ b/src/ch/epfl/maze/physical/pacman/Blinky.java
@@ -31,7 +31,6 @@ public class Blinky extends Predator {
31 31
32 @Override 32 @Override
33 public Animal copy() { 33 public Animal copy() {
34 // TODO 34 return new Blinky(this.getPosition());
35 return null;
36 } 35 }
37} 36}
diff --git a/src/ch/epfl/maze/physical/pacman/Clyde.java b/src/ch/epfl/maze/physical/pacman/Clyde.java
index 8b3fd20..35d0a9b 100644
--- a/src/ch/epfl/maze/physical/pacman/Clyde.java
+++ b/src/ch/epfl/maze/physical/pacman/Clyde.java
@@ -32,7 +32,6 @@ public class Clyde extends Predator {
32 32
33 @Override 33 @Override
34 public Animal copy() { 34 public Animal copy() {
35 // TODO 35 return new Clyde(this.getPosition());
36 return null;
37 } 36 }
38} 37}
diff --git a/src/ch/epfl/maze/physical/pacman/Inky.java b/src/ch/epfl/maze/physical/pacman/Inky.java
index 883c385..e5cf5ad 100644
--- a/src/ch/epfl/maze/physical/pacman/Inky.java
+++ b/src/ch/epfl/maze/physical/pacman/Inky.java
@@ -32,7 +32,6 @@ public class Inky extends Predator {
32 32
33 @Override 33 @Override
34 public Animal copy() { 34 public Animal copy() {
35 // TODO 35 return new Inky(this.getPosition());
36 return null;
37 } 36 }
38} 37}
diff --git a/src/ch/epfl/maze/physical/pacman/Pinky.java b/src/ch/epfl/maze/physical/pacman/Pinky.java
index aaa2720..100264c 100644
--- a/src/ch/epfl/maze/physical/pacman/Pinky.java
+++ b/src/ch/epfl/maze/physical/pacman/Pinky.java
@@ -31,7 +31,6 @@ public class Pinky extends Predator {
31 31
32 @Override 32 @Override
33 public Animal copy() { 33 public Animal copy() {
34 // TODO 34 return new Pinky(this.getPosition());
35 return null;
36 } 35 }
37} 36}