Ejemplo n.º 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();
        }
Ejemplo n.º 2
0
 public void Frame()
 {
     Timer.Frame2();
     DApplication.Frame(Timer.FrameTime);
 }