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/Panda.java | 52 +++++++++++++++-----------------
1 file changed, 25 insertions(+), 27 deletions(-)
(limited to 'src/ch/epfl/maze/physical/zoo/Panda.java')
diff --git a/src/ch/epfl/maze/physical/zoo/Panda.java b/src/ch/epfl/maze/physical/zoo/Panda.java
index 73c7194..c168d97 100644
--- a/src/ch/epfl/maze/physical/zoo/Panda.java
+++ b/src/ch/epfl/maze/physical/zoo/Panda.java
@@ -6,38 +6,36 @@ import ch.epfl.maze.util.Vector2D;
/**
* Panda A.I. that implements Trémeaux's Algorithm.
- *
*/
public class Panda extends Animal {
- /**
- * Constructs a panda with a starting position.
- *
- * @param position
- * Starting position of the panda in the labyrinth
- */
+ /**
+ * Constructs a panda with a starting position.
+ *
+ * @param position Starting position of the panda in the labyrinth
+ */
- public Panda(Vector2D position) {
- super(position);
- // TODO
- }
+ public Panda(Vector2D position) {
+ super(position);
+ // TODO
+ }
- /**
- * Moves according to Trémeaux's Algorithm: when the panda
- * moves, it will mark the ground at most two times (with two different
- * colors). It will prefer taking the least marked paths. Special cases
- * have to be handled, especially when the panda is at an intersection.
- */
+ /**
+ * Moves according to Trémeaux's Algorithm: when the panda
+ * moves, it will mark the ground at most two times (with two different
+ * colors). It will prefer taking the least marked paths. Special cases
+ * have to be handled, especially when the panda is at an intersection.
+ */
- @Override
- public Direction move(Direction[] choices) {
- // TODO
- return Direction.NONE;
- }
+ @Override
+ public Direction move(Direction[] choices) {
+ // TODO
+ return Direction.NONE;
+ }
- @Override
- public Animal copy() {
- // TODO
- return null;
- }
+ @Override
+ public Animal copy() {
+ // TODO
+ return null;
+ }
}
--
cgit v1.2.3