コード例 #1
0
        public virtual void Initialize(string title, int width, int height, bool fullScreen, Surface surface)
        {
            if (Configuration == null)
            {
                Configuration = new DSystemConfiguration(title, width, height, fullScreen);
            }

            InitializeWindows(title);
            DApplication = new DApplication();
            DApplication.Initialize(Configuration, RenderForm.Handle, surface);
            Timer = new DTimer();
            Timer.Initialize();
        }
コード例 #2
0
 public void Frame()
 {
     Timer.Frame2();
     DApplication.Frame(Timer.FrameTime);
 }