package ch.epfl.maze.physical.pacman; import ch.epfl.maze.physical.Animal; import ch.epfl.maze.physical.Daedalus; import ch.epfl.maze.physical.Prey; import ch.epfl.maze.util.Direction; import ch.epfl.maze.util.Vector2D; /** * Pac-Man character, from the famous game of the same name. * * @author Pacien TRAN-GIRARD */ public class PacMan extends Prey { public PacMan(Vector2D position) { super(position); } @Override public Direction move(Direction[] choices, Daedalus daedalus) { return this.move(choices); } @Override public Animal copy() { return new PacMan(this.getPosition()); } }