示例#1
0
        public TestScene()
        {
            pulsatingEffect = new Animatroller.Framework.Effect.Pulsating("Pulse FX", TimeSpan.FromSeconds(1), 0.2, 0.7);
            flickerEffect = new Animatroller.Framework.Effect.Flicker("Flicker", 0.4, 0.6);

            Executor.Current.Register(this);
        }
示例#2
0
        public HalloweenScene()
        {
            hours.AddRange("6:00 pm", "10:00 pm");

            audioPlayer = new Animatroller.Framework.PhysicalDevice.NetworkAudioPlayer(
                Properties.Settings.Default.NetworkAudioPlayerIP,
                Properties.Settings.Default.NetworkAudioPlayerPort);

            pulsatingEffect1 = new Animatroller.Framework.Effect.Pulsating("Pulse FX 1", TimeSpan.FromSeconds(2), 0.1, 0.4);
            pulsatingEffect2 = new Animatroller.Framework.Effect.Pulsating("Pulse FX 2", TimeSpan.FromSeconds(2), 0.3, 0.5);
            candyPulse = new Animatroller.Framework.Effect.Pulsating("Candy Pulse", TimeSpan.FromSeconds(3), 0.01, 0.1);
            flickerEffect = new Animatroller.Framework.Effect.Flicker("Flicker", 0.4, 0.6);

            Executor.Current.Register(this);
        }