From bc477506342411e9156b3230d847cb92bcb8e5f9 Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Tue, 24 Nov 2015 11:11:17 +0100 Subject: Reformat code --- src/ch/epfl/maze/physical/GhostPredator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ch/epfl/maze/physical/GhostPredator.java') diff --git a/src/ch/epfl/maze/physical/GhostPredator.java b/src/ch/epfl/maze/physical/GhostPredator.java index 8188c00..5408bf6 100644 --- a/src/ch/epfl/maze/physical/GhostPredator.java +++ b/src/ch/epfl/maze/physical/GhostPredator.java @@ -122,7 +122,7 @@ abstract public class GhostPredator extends Predator { /** * Calculates the Euclidean distance from the adjacent position at the given Direction to the target position. * - * @param dir The adjacent Direction + * @param dir The adjacent Direction * @param targetPosition The targeted position * @return The Euclidean distance between the two positions */ @@ -138,7 +138,7 @@ abstract public class GhostPredator extends Predator { * Selects the best Direction in the given choices by minimizing the Euclidean distance to the targeted position. * * @param targetPosition The targeted position - * @param choices An array of Direction choices + * @param choices An array of Direction choices * @return An array of optimal Direction choices */ private Direction[] selectBestPaths(Vector2D targetPosition, Direction[] choices) { -- cgit v1.2.3