Exemple #1
0
        void castSpell()
        {
            // TODO: probably need to run this in a separate thread
            IftttStartStopSpell spell = new IftttStartStopSpell(
                "bslEohHzR8x_HsJ3vWzxub",
                "hue_random_color",
                "hue_bright",
                1);

            spell.castSpell();

            sound.PlaySync();
        }
Exemple #2
0
        void endLumos()
        {
            wandHandler.StopTracking();

            IftttStartStopSpell spell = new IftttStartStopSpell(
                "bslEohHzR8x_HsJ3vWzxub",
                "hue_dim",
                "hue_spell_off",
                1);

            spell.castSpell();

            Close();
        }
Exemple #3
0
        private void castSpell()
        {
            spellCast = true;
            wandHandler.StopTracking();

            IftttStartStopSpell spell = new IftttStartStopSpell(
                "bslEohHzR8x_HsJ3vWzxub",
                "hue_expecto_patronum_on",
                "hue_spell_off",
                30);

            spell.castSpell();

            axWindowsMediaPlayer1.Visible = true;
            //playList.appendItem(postMovie);
            pbStrokes.Visible = false;
            shownEnd          = true;
            axWindowsMediaPlayer1.currentMedia = postMovie;
        }
Exemple #4
0
        void castSpell()
        {
            wandHandler.StopTracking();

            // TODO: probably need to run this in a separate thread
            IftttStartStopSpell spell = new IftttStartStopSpell(
                "bslEohHzR8x_HsJ3vWzxub",
                "hue_hedwig_on",
                "hue_spell_off",
                5);

            spell.castSpell();

            Incendio cloudBit = new Incendio("00e04c034e9a", "c83578c843ac46220849a1bd919662b340e537dd14f0b234a5a99634becc5339", 25, 1000, null, null);

            cloudBit.castSpell();

            sound.PlaySync();
            Close();
        }
Exemple #5
0
        private void castSpell()
        {
            spellCast = true;

            wandHandler.StopTracking();

            IftttStartStopSpell spell = new IftttStartStopSpell(
                "bslEohHzR8x_HsJ3vWzxub",
                "hue_arania_exumai_on",
                "hue_spell_off",
                5);

            spell.castSpell();

            Incendio cloudBit = new Incendio("00e04c034e9a", "c83578c843ac46220849a1bd919662b340e537dd14f0b234a5a99634becc5339", 50, 1000, null, null);

            cloudBit.castSpell();

            axWindowsMediaPlayer1.Visible = true;
            //playList.appendItem(postMovie);
            pbStrokes.Visible = false;
            shownEnd          = true;
            axWindowsMediaPlayer1.currentMedia = postMovie;
        }