Animatroller.SceneRunner.HalloweenScene2013.WireUp C# (CSharp) Method

WireUp() public method

public WireUp ( Animatroller sim ) : void
sim Animatroller
return void
        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);
        }