diff options
Diffstat (limited to 'src/ch/epfl/maze/physical/stragegies/picker/BlindPicker.java')
-rw-r--r-- | src/ch/epfl/maze/physical/stragegies/picker/BlindPicker.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/ch/epfl/maze/physical/stragegies/picker/BlindPicker.java b/src/ch/epfl/maze/physical/stragegies/picker/BlindPicker.java new file mode 100644 index 0000000..6dcf229 --- /dev/null +++ b/src/ch/epfl/maze/physical/stragegies/picker/BlindPicker.java | |||
@@ -0,0 +1,20 @@ | |||
1 | package ch.epfl.maze.physical.stragegies.picker; | ||
2 | |||
3 | import ch.epfl.maze.physical.World; | ||
4 | import ch.epfl.maze.util.Direction; | ||
5 | |||
6 | import java.util.Set; | ||
7 | |||
8 | /** | ||
9 | * A decision maker unaware of its distant environment. | ||
10 | * | ||
11 | * @author Pacien TRAN-GIRARD | ||
12 | */ | ||
13 | public interface BlindPicker extends ChoicePicker { | ||
14 | |||
15 | @Override | ||
16 | default Direction pick(Set<Direction> choices, World world) { | ||
17 | return this.pick(choices); | ||
18 | } | ||
19 | |||
20 | } | ||