summaryrefslogtreecommitdiff
path: root/src/ch/epfl/maze/physical/zoo/Monkey.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/ch/epfl/maze/physical/zoo/Monkey.java')
-rw-r--r--src/ch/epfl/maze/physical/zoo/Monkey.java54
1 files changed, 26 insertions, 28 deletions
diff --git a/src/ch/epfl/maze/physical/zoo/Monkey.java b/src/ch/epfl/maze/physical/zoo/Monkey.java
index a9295b8..f0f9b2e 100644
--- a/src/ch/epfl/maze/physical/zoo/Monkey.java
+++ b/src/ch/epfl/maze/physical/zoo/Monkey.java
@@ -6,36 +6,34 @@ import ch.epfl.maze.util.Vector2D;
6 6
7/** 7/**
8 * Monkey A.I. that puts its hand on the left wall and follows it. 8 * Monkey A.I. that puts its hand on the left wall and follows it.
9 *
10 */ 9 */
11 10
12public class Monkey extends Animal { 11public class Monkey extends Animal {
13 12
14 /** 13 /**
15 * Constructs a monkey with a starting position. 14 * Constructs a monkey with a starting position.
16 * 15 *
17 * @param position 16 * @param position Starting position of the monkey in the labyrinth
18 * Starting position of the monkey in the labyrinth 17 */
19 */ 18
20 19 public Monkey(Vector2D position) {
21 public Monkey(Vector2D position) { 20 super(position);
22 super(position); 21 // TODO
23 // TODO 22 }
24 } 23
25 24 /**
26 /** 25 * Moves according to the relative left wall that the monkey has to follow.
27 * Moves according to the relative left wall that the monkey has to follow. 26 */
28 */ 27
29 28 @Override
30 @Override 29 public Direction move(Direction[] choices) {
31 public Direction move(Direction[] choices) { 30 // TODO
32 // TODO 31 return Direction.NONE;
33 return Direction.NONE; 32 }
34 } 33
35 34 @Override
36 @Override 35 public Animal copy() {
37 public Animal copy() { 36 // TODO
38 // TODO 37 return null;
39 return null; 38 }
40 }
41} 39}