Animatroller.Scenes.XmasScene1.XmasScene1 C# (CSharp) Method

XmasScene1() public method

public XmasScene1 ( IEnumerable args, System settings ) : System
args IEnumerable
settings System
return System
        public XmasScene1(IEnumerable<string> args, System.Collections.Specialized.NameValueCollection settings)
        {
            testPixels = new Pixel1D("G35", 50);
            explosion1 = new Dimmer("Explosion 1");
            explosion2 = new Dimmer("Explosion 2");
            explosion3 = new Dimmer("Explosion 3");
            explosion4 = new Dimmer("Explosion 4");
            testButton = new DigitalInput("Test");

            audioPlayer = new Physical.NetworkAudioPlayer(
                settings["NetworkAudioPlayerIP"],
                int.Parse(settings["NetworkAudioPlayerPort"]));
        }