Update() 공개 메소드

public Update ( ) : void
리턴 void
예제 #1
0
        static void Main()
        {
            var form = new RenderForm("Hello Bundles");
            form.Width = 1280;
            form.Height = 800;
            form.Show();

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

                using (var loop = new RenderLoop(form))
                {
                    while (loop.NextFrame())
                    {
                        app.Update();
                        app.Render();
                    }
                }
            }
        }
예제 #2
0
        static void Main()
        {
            var form = new RenderForm("Hello Bundles");

            form.Width  = 1280;
            form.Height = 800;
            form.Show();

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

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