From f312719bf9df140a22406a4e40c5221a86cd8073 Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Tue, 24 Nov 2015 21:56:22 +0100 Subject: Refactor Daedalus residence --- src/ch/epfl/maze/physical/stragegies/picker/ChoicePicker.java | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/ch/epfl/maze/physical/stragegies/picker/ChoicePicker.java') diff --git a/src/ch/epfl/maze/physical/stragegies/picker/ChoicePicker.java b/src/ch/epfl/maze/physical/stragegies/picker/ChoicePicker.java index 76fe3eb..756c446 100644 --- a/src/ch/epfl/maze/physical/stragegies/picker/ChoicePicker.java +++ b/src/ch/epfl/maze/physical/stragegies/picker/ChoicePicker.java @@ -1,5 +1,6 @@ package ch.epfl.maze.physical.stragegies.picker; +import ch.epfl.maze.physical.Daedalus; import ch.epfl.maze.physical.World; import ch.epfl.maze.util.Direction; import ch.epfl.maze.util.Vector2D; @@ -33,12 +34,12 @@ public interface ChoicePicker { * In this variation, the animal knows the world entirely. It can therefore * use the position of other animals in the daedalus to move more effectively. * - * @param choices The choices left to the animal at its current position (see - * {@link ch.epfl.maze.physical.World#getChoices(Vector2D) - * World.getChoices(Vector2D)}) - * @param world The world in which the animal moves + * @param choices The choices left to the animal at its current position (see + * {@link World#getChoices(Vector2D) + * World.getChoices(Vector2D)}) + * @param daedalus The daedalus in which the animal moves * @return The next direction of the animal, chosen in {@code choices} */ - Direction pick(Set choices, World world); + Direction pick(Set choices, Daedalus daedalus); } -- cgit v1.2.3