From 90bd766f361083f6fd9e39ff080c83fcc606832f Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Sat, 21 Nov 2015 10:44:42 +0100 Subject: Reformat imported code --- src/ch/epfl/maze/physical/zoo/Hamster.java | 56 ++++++++++++++---------------- 1 file changed, 27 insertions(+), 29 deletions(-) (limited to 'src/ch/epfl/maze/physical/zoo/Hamster.java') diff --git a/src/ch/epfl/maze/physical/zoo/Hamster.java b/src/ch/epfl/maze/physical/zoo/Hamster.java index a000daf..2a610f2 100644 --- a/src/ch/epfl/maze/physical/zoo/Hamster.java +++ b/src/ch/epfl/maze/physical/zoo/Hamster.java @@ -7,37 +7,35 @@ import ch.epfl.maze.util.Vector2D; /** * Hamster A.I. that remembers the previous choice it has made and the dead ends * it has already met. - * */ public class Hamster extends Animal { - /** - * Constructs a hamster with a starting position. - * - * @param position - * Starting position of the hamster in the labyrinth - */ - - public Hamster(Vector2D position) { - super(position); - // TODO - } - - /** - * Moves without retracing directly its steps and by avoiding the dead-ends - * it learns during its journey. - */ - - @Override - public Direction move(Direction[] choices) { - // TODO - return Direction.NONE; - } - - @Override - public Animal copy() { - // TODO - return null; - } + /** + * Constructs a hamster with a starting position. + * + * @param position Starting position of the hamster in the labyrinth + */ + + public Hamster(Vector2D position) { + super(position); + // TODO + } + + /** + * Moves without retracing directly its steps and by avoiding the dead-ends + * it learns during its journey. + */ + + @Override + public Direction move(Direction[] choices) { + // TODO + return Direction.NONE; + } + + @Override + public Animal copy() { + // TODO + return null; + } } -- cgit v1.2.3