public void WireUp(Animatroller.Simulator.SimulatorForm sim) { sim.AddDigitalInput_FlipFlop(buttonTest1); sim.AutoWireUsingReflection(this); }
public void WireUp(Animatroller.Simulator.SimulatorForm sim) { sim.Connect(new Animatroller.Simulator.TestLight(candyLight), "Candy Light"); sim.Connect(new Animatroller.Simulator.TestLight(candyLight2), "Candy Light 2"); sim.AddDigitalInput_Momentarily("Pressure Mat").Connect(pressureMat); }
public void WireUp(Animatroller.Simulator.SimulatorForm sim) { sim.AddDigitalInput_FlipFlop(buttonTest); sim.AddDigitalInput_FlipFlop(buttonOverrideHours); sim.AddDigitalInput_Momentarily(buttonStartInflatables); sim.AddDigitalInput_Momentarily(buttonBlue); sim.AddDigitalInput_Momentarily(buttonRed); sim.AutoWireUsingReflection_Simple(this); //sim.AutoWireUsingReflection(this); }
public void WireUp(Animatroller.Simulator.SimulatorForm sim) { sim.AddDigitalInput_Momentarily(buttonBlue); sim.AddDigitalInput_Momentarily(buttonRed); sim.AddDigitalInput_Momentarily(buttonStartReindeer); sim.AutoWireUsingReflection(this); }
public void WireUp(Animatroller.Simulator.SimulatorForm sim) { sim.AddDigitalInput_Momentarily("Test Button").Connect(testButton); }
public void WireUp(Animatroller.Simulator.SimulatorForm sim) { sim.AddDigitalInput_Momentarily(buttonMotionCat); sim.AddDigitalInput_Momentarily(buttonMotionBeauty); sim.AddDigitalInput_Momentarily(buttonTriggerStairs); sim.AddDigitalInput_Momentarily(buttonTriggerPopup); sim.AddDigitalInput_FlipFlop(buttonTestC); sim.AddDigitalInput_Momentarily(buttonTestA); sim.AddDigitalInput_Momentarily(buttonTestB); sim.AddDigitalInput_FlipFlop(buttonTestSpider); sim.AutoWireUsingReflection(this); }
public void WireUp(Animatroller.Simulator.SimulatorForm sim) { sim.AddDigitalInput_Momentarily(pressureMat); sim.AutoWireUsingReflection(this); }
public void WireUp(Animatroller.Simulator.SimulatorForm sim) { sim.AddDigitalInput_Momentarily("Blue").Connect(buttonBlue); sim.AddDigitalInput_Momentarily("Red").Connect(buttonRed); sim.Connect(new Animatroller.Simulator.TestLight(lightNetRight), "Net Right"); sim.Connect(new Animatroller.Simulator.TestLight(lightGarlandRight), "Garland R"); sim.Connect(new Animatroller.Simulator.TestLight(lightHatsRight), "Hats Right"); sim.Connect(new Animatroller.Simulator.TestLight(lightTreesRight), "Tree Right"); sim.Connect(new Animatroller.Simulator.TestLight(lightReindeers), "Reindeers"); sim.Connect(new Animatroller.Simulator.TestLight(lightIcicles), "Icicles"); sim.Connect(new Animatroller.Simulator.TestLight(lightNetLeft), "Net Left"); sim.Connect(new Animatroller.Simulator.TestLight(lightTree), "Tree"); sim.Connect(new Animatroller.Simulator.TestLight(lightGarlandLeft), "Garland L"); // sim.Connect(new Animatroller.Simulator.TestLight(lightUnused1), "Unused 1"); // sim.Connect(new Animatroller.Simulator.TestLight(lightUnused2), "Unused 2"); sim.Connect(new Animatroller.Simulator.TestLight(lightJesus), "Jesus"); sim.Connect(new Animatroller.Simulator.TestLight(lightCeiling1), "Ceiling 1"); sim.Connect(new Animatroller.Simulator.TestLight(lightCeiling2), "Ceiling 2"); sim.Connect(new Animatroller.Simulator.TestLight(lightCeiling3), "Ceiling 3"); sim.Connect(new Animatroller.Simulator.TestLight(lightVader), "Vader"); sim.Connect(new Animatroller.Simulator.TestPixel1D(testPixels), "Rope"); sim.AddDigitalOutput("Blue Button").Connect(buttonLightBlue); sim.AddDigitalOutput("Red Button").Connect(buttonLightRed); sim.AddDigitalOutput("Lightsaber").Connect(elLightsaber); sim.AddDigitalOutput("Jesus Halo").Connect(elJesus); sim.AddDigitalOutput("Big Reindeer").Connect(bigReindeer); sim.AddDigitalInput_Momentarily("Reindeer").Connect(buttonStartReindeer); }
public void WireUp(Animatroller.Simulator.SimulatorForm sim) { // sim.AddDigitalInput_Momentarily(buttonTest); sim.AutoWireUsingReflection(this); }
public void WireUp(Animatroller.Simulator.SimulatorForm sim) { sim.AddDigitalInput_Momentarily(inputArm); sim.AddDigitalInput_Momentarily(inputDisarm); sim.AddDigitalInput_Momentarily(inputDump); sim.AddDigitalInput_Momentarily(inputReset); sim.AddDigitalInput_Momentarily(inputNextSong); sim.AutoWireUsingReflection(this); }
public void WireUp(Animatroller.Simulator.SimulatorForm sim) { sim.AddDigitalInput_Momentarily(buttonTestSound); sim.AddDigitalInput_Momentarily(buttonPlayBackground); sim.AddDigitalInput_Momentarily(buttonPauseBackground); sim.AddDigitalInput_Momentarily(buttonTrigger1); sim.AddDigitalInput_Momentarily(buttonTestLight1); sim.AddDigitalInput_FlipFlop(buttonTestLight2); sim.AutoWireUsingReflection(this); }
public Executor Register(Animatroller.Framework.Effect.IEffect device) { if (this.effects.Contains(device)) throw new ArgumentException("Already registered"); this.effects.Add(device); return this; }
private void WireUpDevice_Note(Animatroller.Framework.PhysicalDevice.DigitalInput device, int midiChannel, int note) { this.messageMapper.Add(Tuple.Create(midiChannel, ChannelCommand.NoteOn, note), m => { device.Trigger(true); }); this.messageMapper.Add(Tuple.Create(midiChannel, ChannelCommand.NoteOff, note), m => { device.Trigger(false); }); }
public void WireUp(Animatroller.Simulator.SimulatorForm sim) { sim.AutoWireUsingReflection(this); }
private void TriggerThunderTimeline(object sender, Animatroller.Framework.Controller.Timeline<string>.TimelineEventArgs e) { switch (e.Code) { case "A": popOutAll.Pop(1.0, color: Color.White); break; case "B": popOut2.Pop(0.5, color: Color.White); break; case "C": popOut1.Pop(1.0, color: Color.White); break; } }
public void WireUp(Animatroller.Simulator.SimulatorForm sim) { sim.Connect(new Animatroller.Simulator.TestLight(georgeStrobeLight), "George Strobe"); sim.Connect(new Animatroller.Simulator.TestLight(spiderLight), "Spider Light"); sim.Connect(new Animatroller.Simulator.TestLight(skullsLight), "Skulls Lights"); sim.Connect(new Animatroller.Simulator.TestLight(cobWebLight), "Cobweb"); sim.Connect(new Animatroller.Simulator.TestLight(blinkyEyesLight), "Blinky Eyes"); sim.Connect(new Animatroller.Simulator.TestLight(rgbLightRight), "Right Skeleton"); sim.Connect(new Animatroller.Simulator.TestLight(rgbLight3), "Left Skeleton"); sim.Connect(new Animatroller.Simulator.TestLight(rgbLight4), "Unused"); sim.AddDigitalInput_Momentarily("Pressure Mat").Connect(pressureMat); sim.AddDigitalOutput("Spider Lift").Connect(spiderLift); sim.AddMotor("George").Connect(georgeMotor); }
public void WireUp(Animatroller.Simulator.SimulatorForm sim) { sim.AddDigitalInput_Momentarily(buttonPlayFX); sim.AddDigitalInput_Momentarily(buttonPauseFX); sim.AddDigitalInput_Momentarily(buttonCueFX); sim.AddDigitalInput_Momentarily(buttonResumeFX); sim.AddDigitalInput_Momentarily(buttonPlayBackground); sim.AddDigitalInput_Momentarily(buttonPauseBackground); sim.AddDigitalInput_Momentarily(buttonBackgroundLowVolume); sim.AddDigitalInput_Momentarily(buttonBackgroundHighVolume); sim.AddDigitalInput_Momentarily(buttonBackgroundNext); sim.AddDigitalInput_Momentarily(buttonTrigger1); sim.AutoWireUsingReflection(this); }
public void WireUp(Animatroller.Simulator.SimulatorForm sim) { sim.AddDigitalInput_FlipFlop(buttonTestHand); sim.AddDigitalInput_FlipFlop(buttonTestHead); sim.AddDigitalInput_FlipFlop(buttonTestDrawer1); sim.AddDigitalInput_FlipFlop(buttonTestDrawer2); sim.AddDigitalInput_FlipFlop(buttonTestPopEyes); sim.AddDigitalInput_FlipFlop(buttonTestPopUp); sim.AddDigitalInput_Momentarily(buttonRunSequence); sim.AddDigitalInput_Momentarily(buttonTestSound); sim.AutoWireUsingReflection(this); }