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/PacMan.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ch/epfl/maze/physical/pacman/PacMan.java b/src/ch/epfl/maze/physical/pacman/PacMan.java
index 6ec7436..debac67 100644
--- a/src/ch/epfl/maze/physical/pacman/PacMan.java
+++ b/src/ch/epfl/maze/physical/pacman/PacMan.java
@@ -6,6 +6,8 @@ import ch.epfl.maze.physical.Prey;
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
9import java.util.Set;
10
9/** 11/**
10 * Pac-Man character, from the famous game of the same name. 12 * Pac-Man character, from the famous game of the same name.
11 * 13 *
@@ -19,7 +21,7 @@ public class PacMan extends Prey {
19 } 21 }
20 22
21 @Override 23 @Override
22 public Direction move(Direction[] choices, Daedalus daedalus) { 24 public Direction move(Set<Direction> choices, Daedalus daedalus) {
23 return this.move(choices); 25 return this.move(choices);
24 } 26 }
25 27