update, working bt and final schedule
[des2015.git] / dsl / runtime / src / nl / ru / des / ColorMemory.java
diff --git a/dsl/runtime/src/nl/ru/des/ColorMemory.java b/dsl/runtime/src/nl/ru/des/ColorMemory.java
deleted file mode 100644 (file)
index 61b0f2b..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-package nl.ru.des;
-
-import java.util.HashSet;
-import java.util.List;
-import java.util.Set;
-
-import lejos.robotics.SampleProvider;
-
-public class ColorMemory {
-
-       private Set<Integer> colors;
-       
-       public ColorMemory(SampleProvider color) {
-               colors = new HashSet<Integer>();
-       }
-
-       public void addColor(int current) {
-               if(!colors.contains(current)){
-                       colors.add(current);
-               }
-       }
-       public boolean containsAll(List<Integer> is) {
-               return colors.containsAll(is);
-       }
-
-}