Esempio n. 1
0
        static void Main()
        {
            var form = new RenderForm("Hello Bundles")
            {
                Width = 1280,
                Height = 800
            };
            form.Show();

            using (var app = new HelloBundles())
            {
                app.Initialize(form);

                using (var loop = new RenderLoop(form))
                {
                    while (loop.NextFrame())
                    {
                        app.Update();
                        app.Render();
                    }
                }
            }
        }
Esempio n. 2
0
        static void Main()
        {
            var form = new RenderForm("Hello Bundles")
            {
                Width  = 1280,
                Height = 800
            };

            form.Show();

            using (var app = new HelloBundles())
            {
                app.Initialize(form);

                using (var loop = new RenderLoop(form))
                {
                    while (loop.NextFrame())
                    {
                        app.Update();
                        app.Render();
                    }
                }
            }
        }