X-Git-Url: https://git.piment-noir.org/?p=SugarCubes.git;a=blobdiff_plain;f=AntonK.pde;h=5b286f1c3c49c18d8eff9a36e9b7b291d69a7838;hp=33f4f5d0dd26f6df6e08834be011fa5ecb4dd543;hb=7d60f6f6ea82fd5c9794524ce11d40e7d6c00bf7;hpb=cc9e8c8be45767207e09c434bad100b0156877e6 diff --git a/AntonK.pde b/AntonK.pde index 33f4f5d..5b286f1 100644 --- a/AntonK.pde +++ b/AntonK.pde @@ -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(); for (int i = 0; i < 50; ++i) stars.add(new Star());