diff options
Diffstat (limited to 'src/ch/epfl/maze/physical/zoo/SpaceInvader.java')
-rw-r--r-- | src/ch/epfl/maze/physical/zoo/SpaceInvader.java | 58 |
1 files changed, 28 insertions, 30 deletions
diff --git a/src/ch/epfl/maze/physical/zoo/SpaceInvader.java b/src/ch/epfl/maze/physical/zoo/SpaceInvader.java index 0d8fb5d..f5963b1 100644 --- a/src/ch/epfl/maze/physical/zoo/SpaceInvader.java +++ b/src/ch/epfl/maze/physical/zoo/SpaceInvader.java | |||
@@ -15,38 +15,36 @@ import ch.epfl.maze.util.Vector2D; | |||
15 | * efficient than the animals you had to implement. | 15 | * efficient than the animals you had to implement. |
16 | * <p> | 16 | * <p> |
17 | * The way we measure efficiency is made by the test case {@code Competition}. | 17 | * The way we measure efficiency is made by the test case {@code Competition}. |
18 | * | 18 | * |
19 | * @see ch.epfl.maze.tests.Competition Competition | 19 | * @see ch.epfl.maze.tests.Competition Competition |
20 | * | ||
21 | */ | 20 | */ |
22 | 21 | ||
23 | public class SpaceInvader extends Animal { | 22 | public class SpaceInvader extends Animal { |
24 | 23 | ||
25 | /** | 24 | /** |
26 | * Constructs a space invader with a starting position. | 25 | * Constructs a space invader with a starting position. |
27 | * | 26 | * |
28 | * @param position | 27 | * @param position Starting position of the mouse in the labyrinth |
29 | * Starting position of the mouse in the labyrinth | 28 | */ |
30 | */ | 29 | |
31 | 30 | public SpaceInvader(Vector2D position) { | |
32 | public SpaceInvader(Vector2D position) { | 31 | super(position); |
33 | super(position); | 32 | // TODO (bonus) |
34 | // TODO (bonus) | 33 | } |
35 | } | 34 | |
36 | 35 | /** | |
37 | /** | 36 | * Moves according to (... please complete with as many details as you can). |
38 | * Moves according to (... please complete with as many details as you can). | 37 | */ |
39 | */ | 38 | |
40 | 39 | @Override | |
41 | @Override | 40 | public Direction move(Direction[] choices) { |
42 | public Direction move(Direction[] choices) { | 41 | // TODO (bonus) |
43 | // TODO (bonus) | 42 | return Direction.NONE; |
44 | return Direction.NONE; | 43 | } |
45 | } | 44 | |
46 | 45 | @Override | |
47 | @Override | 46 | public Animal copy() { |
48 | public Animal copy() { | 47 | // TODO (bonus) |
49 | // TODO (bonus) | 48 | return null; |
50 | return null; | 49 | } |
51 | } | ||
52 | } | 50 | } |