private static void Lost()
        {
            Random rnd = new Random();

            npr.FrameSet(npr.coolPalette, 0, 3);
            //npr.FrameSet(npr.coolPalette[0], 1);

            for (int i = 0; i < 40; i++)
            {
                for (int p = 0; p < npr.Length; p++)
                {
                    npr.FrameDraw();
                    npr.FrameShift(1);
                    Thread.Sleep(50);
                }

                for (int p = 0; p < npr.Length; p++)
                {
                    npr.FrameDraw();
                    npr.FrameShift(-1);
                    Thread.Sleep(25);
                }
            }
        }
예제 #2
0
        private static void Lost()
        {
            Random rnd = new Random();

            npr.FrameSet(npr.PaletteCoolLowPower, 0, 3);
            //npr.FrameSet(npr.coolPalette[0], 1);

            for (int i = 0; i < 40; i++)
            {
                for (int p = 0; p < npr.Length; p++)
                {
                    npr.FrameDraw();
                    npr.FrameShift(1);
                    Util.Delay(50);
                }

                for (int p = 0; p < npr.Length; p++)
                {
                    npr.FrameDraw();
                    npr.FrameShift(-1);
                    Util.Delay(25);
                }
            }
        }