summaryrefslogtreecommitdiff
path: root/src/ch/epfl/maze/physical/pacman/PacMan.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/ch/epfl/maze/physical/pacman/PacMan.java')
-rw-r--r--src/ch/epfl/maze/physical/pacman/PacMan.java11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/ch/epfl/maze/physical/pacman/PacMan.java b/src/ch/epfl/maze/physical/pacman/PacMan.java
index bb167af..ee1ee28 100644
--- a/src/ch/epfl/maze/physical/pacman/PacMan.java
+++ b/src/ch/epfl/maze/physical/pacman/PacMan.java
@@ -8,24 +8,23 @@ import ch.epfl.maze.util.Vector2D;
8 8
9/** 9/**
10 * Pac-Man character, from the famous game of the same name. 10 * Pac-Man character, from the famous game of the same name.
11 *
12 * @author Pacien TRAN-GIRARD
11 */ 13 */
12
13public class PacMan extends Prey { 14public class PacMan extends Prey {
14 15
15 public PacMan(Vector2D position) { 16 public PacMan(Vector2D position) {
16 super(position); 17 super(position);
17 // TODO
18 } 18 }
19 19
20 @Override 20 @Override
21 public Direction move(Direction[] choices, Daedalus daedalus) { 21 public Direction move(Direction[] choices, Daedalus daedalus) {
22 // TODO 22 return this.move(choices);
23 return Direction.NONE;
24 } 23 }
25 24
26 @Override 25 @Override
27 public Animal copy() { 26 public Animal copy() {
28 // TODO 27 return new PacMan(this.getPosition());
29 return null;
30 } 28 }
29
31} 30}