summaryrefslogtreecommitdiff
path: root/src/ch/epfl/maze/physical/stragegies/picker/BlindPicker.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/ch/epfl/maze/physical/stragegies/picker/BlindPicker.java')
-rw-r--r--src/ch/epfl/maze/physical/stragegies/picker/BlindPicker.java20
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 @@
1package ch.epfl.maze.physical.stragegies.picker;
2
3import ch.epfl.maze.physical.World;
4import ch.epfl.maze.util.Direction;
5
6import java.util.Set;
7
8/**
9 * A decision maker unaware of its distant environment.
10 *
11 * @author Pacien TRAN-GIRARD
12 */
13public interface BlindPicker extends ChoicePicker {
14
15 @Override
16 default Direction pick(Set<Direction> choices, World world) {
17 return this.pick(choices);
18 }
19
20}