summaryrefslogtreecommitdiff
path: root/src/ch/epfl/maze/physical/zoo/Monkey.java
blob: f0f9b2ebba10b84e5d04aa800f3c6eac959ddcd7 (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
38
39
package ch.epfl.maze.physical.zoo;

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

/**
 * Monkey A.I. that puts its hand on the left wall and follows it.
 */

public class Monkey extends Animal {

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

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

    /**
     * Moves according to the relative left wall that the monkey has to follow.
     */

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

    @Override
    public Animal copy() {
        // TODO
        return null;
    }
}