Exemple #1
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 #2
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;
        }