SCPattern moved out of GLucose
[SugarCubes.git] / BenMorrow.pde
index f88e20857da377cfe5e67f41e4d98147025368d6..081da539b947c07ffcdc47d129d63eff3a7d7bf7 100644 (file)
@@ -9,8 +9,8 @@ class XYZPixel extends SCPattern
        float ym2 = model.yMin+cubeWidth;
        float zm2 = model.zMin+cubeWidth;
 
-       XYZPixel(GLucose glucose) {
-               super(glucose);
+       XYZPixel(LX lx) {
+               super(lx);
                //myP = new LXPoint(20,20,20);
        }
 
@@ -50,8 +50,8 @@ class MultipleCubes extends SCPattern
 
        float minIS;
 
-       MultipleCubes(GLucose glucose) {
-               super(glucose);
+       MultipleCubes(LX lx) {
+               super(lx);
                minIS = 200;
        }
 
@@ -130,8 +130,8 @@ class TowerParams extends SCPattern
        ArrayList<BasicParameter> towerParams;
        int towerSize;
        int colorSpan;
-       TowerParams(GLucose glucose) {
-               super(glucose);
+       TowerParams(LX lx) {
+               super(lx);
 
                towerParams = new ArrayList<BasicParameter>();
                addParameter(hueoff);
@@ -199,8 +199,8 @@ class Sandbox extends SCPattern
        int towerrange = model.towers.size();
        int counter=0;
 
-       Sandbox(GLucose glucose) {
-               super(glucose);
+       Sandbox(LX lx) {
+               super(lx);
                println("points "+pointrange);
                println("strips "+striprange);
                println("faces "+facerange);
@@ -234,9 +234,9 @@ class Sandbox extends SCPattern
 
 class GranimTestPattern extends GranimPattern
 {
-       GranimTestPattern(GLucose glucose)
+       GranimTestPattern(LX lx)
        {
-               super(glucose);
+               super(lx);
                addGraphic("myReds",new RedsGraphic(100));
                int[] dots = {0,128,0,128,0,128,0,128,0,128,0,128};
                addGraphic("myOtherColors",new ColorDotsGraphic(dots));
@@ -270,9 +270,9 @@ class GranimTestPattern extends GranimPattern
 
 class GranimTestPattern2 extends GranimPattern
 {
-       GranimTestPattern2(GLucose glucose)
+       GranimTestPattern2(LX lx)
        {
-               super(glucose);
+               super(lx);
                /*for(int i = 0;i < 100; i++)
                {
                        Graphic g = addGraphic("myReds_"+i,new RedsGraphic(Math.round(Math.random() * 100)));
@@ -310,8 +310,8 @@ class DriveableCrossSections extends CrossSections
        BasicParameter zd;
        BasicParameter mode; 
 
-       DriveableCrossSections(GLucose glucose) {
-               super(glucose); 
+       DriveableCrossSections(LX lx) {
+               super(lx);      
        }
 
        public void addParams()