Example #1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main()
 {
     // The 'using' idiom guarantees proper resource cleanup.
     // We request 30 UpdateFrame events per second, and unlimited
     // RenderFrame events (as fast as the computer can handle).
     using (TestBench1 game = new TestBench1())
     {
         game.Run(30.0);
     }
 }
Example #2
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main()
 {
     // The 'using' idiom guarantees proper resource cleanup.
     // We request 30 UpdateFrame events per second, and unlimited
     // RenderFrame events (as fast as the computer can handle).
     using (TestBench1 game = new TestBench1())
     {
         game.Run(30.0);
     }
 }