예제 #1
0
        static void Main(string[] args)
        {
            using (Director director = new Director())
            {
                if (!director.Init())
                {
                    ErrorReport.New("初始化DirectX失败!");
                    return;
                }

                director.Show();

                AnimationLoader.aaa();

                TimerUtils.Init();
                while (director.Created)
                {
                    director.Play();
                    Application.DoEvents();
                }
            }
        }