redo with new anti-GLucose
[SugarCubes.git] / AntonK.pde
index 33f4f5d0dd26f6df6e08834be011fa5ecb4dd543..5b286f1c3c49c18d8eff9a36e9b7b291d69a7838 100644 (file)
@@ -122,9 +122,9 @@ class AKPong extends SCPattern
         return true;
     }
 
-    public AKPong(GLucose glucose)
+    public AKPong(LX lx)
     {
-        super(glucose);
+        super(lx);
         addParameter(speed);
         addParameter(leftKnob);
         addParameter(rightKnob);
@@ -171,9 +171,9 @@ class AKPong extends SCPattern
 class AKInvader extends SCPattern
 {
     private final SawLFO h = new SawLFO(0, 1, 5000);
-    public AKInvader(GLucose glucose)
+    public AKInvader(LX lx)
     {
-        super(glucose);
+        super(lx);
         addModulator(h).trigger();
     }
     
@@ -320,9 +320,9 @@ class AKTetris extends SCPattern
         }
     }
     
-    public AKTetris(GLucose glucose)
+    public AKTetris(LX lx)
     {
-        super(glucose);
+        super(lx);
     }
     
     public boolean noteOn(Note note)
@@ -373,9 +373,9 @@ class AKMatrix extends SCPattern
         }
     }
 
-    public AKMatrix(GLucose glucose)
+    public AKMatrix(LX lx)
     {
-        super(glucose);
+        super(lx);
 //        for (Tower t : model.towers)
         {
             Tower t = model.towers.get(0);
@@ -416,9 +416,9 @@ class AKEgg extends SCPattern
     private final float Y = model.yMax / 2;
     private final float Z = model.zMax / 2;
 
-    public AKEgg(GLucose glucose)
+    public AKEgg(LX lx)
     {
-        super(glucose);
+        super(lx);
         addModulator(xRadius).trigger();
         addModulator(yRadius).trigger();
         addModulator(zRadius).trigger();
@@ -447,9 +447,9 @@ class AKCubes extends SCPattern
     private Cube cube;
     private int sec;
     
-    public AKCubes(GLucose glucose)
+    public AKCubes(LX lx)
     {
-        super(glucose);
+        super(lx);
         cube = model.cubes.get((int) random(model.cubes.size()));
         sec = 0;
     }
@@ -474,9 +474,9 @@ class AKCubes extends SCPattern
 class AKSpiral extends SCPattern
 {
     private int ms;
-    public AKSpiral(GLucose glucose)
+    public AKSpiral(LX lx)
     {
-        super(glucose);
+        super(lx);
         ms = 0;
     }
     
@@ -538,9 +538,9 @@ class AKSpace extends SCPattern
         }
     }
     
-    public AKSpace(GLucose glucose)
+    public AKSpace(LX lx)
     {
-        super(glucose);
+        super(lx);
         stars = new LinkedList<Star>();
         for (int i = 0; i < 50; ++i)
             stars.add(new Star());