Beispiel #1
0
        static void _timer_Elapsed()
        {
            while (true)
            {
                _game.DoStep();
                //DrawField(_game.GetBounds());
                DrawField(FULL_SCREEN_RECT);

                Thread.Sleep(1000 / _game.Speed);
            }
        }