Esempio n. 1
0
 //game loop is passed as a delegate to fast loop
 void GameLoop(double elapsedTime)
 {
     _fps.Process(elapsedTime);
     //Console.WriteLine(FramesPerSecond.DeltaTime);
     _system.Update(elapsedTime);
     _system.Render();
     _openGLControl.Refresh();
 }
Esempio n. 2
0
 //game loop is passed as a delegate to fast loop
 void GameLoop(double elapsedTime)
 {
     _system.Update(elapsedTime);
     _system.Render();
     _openGLControl.Refresh();
 }