summaryrefslogtreecommitdiff
path: root/src/ch/epfl/maze/physical/pacman/Clyde.java
blob: 6b3bef378403eeffa432ecd544325866b2aa59be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package ch.epfl.maze.physical.pacman;

import ch.epfl.maze.physical.Animal;
import ch.epfl.maze.physical.Daedalus;
import ch.epfl.maze.physical.GhostPredator;
import ch.epfl.maze.util.Direction;
import ch.epfl.maze.util.Vector2D;

/**
 * Orange ghost from the Pac-Man game, alternates between direct chase if far
 * from its target and SCATTER if close.
 */

public class Clyde extends GhostPredator {

    /**
     * Constructs a Clyde with a starting position.
     *
     * @param position Starting position of Clyde in the labyrinth
     */

    public Clyde(Vector2D position) {
        super(position);
        // TODO
    }

    @Override
    public Direction move(Direction[] choices, Daedalus daedalus) {
        // TODO
        return Direction.NONE;
    }

    @Override
    public Animal copy() {
        return new Clyde(this.getPosition());
    }
}