public MainPage() { InitializeComponent(); FarseerPhysicsGame game = new FarseerPhysicsGame(this, Game, DebugCanvas, txtFPS, txtDebug); game.Run(); }
static void Main() { using (var game = new FarseerPhysicsGame()) game.Run(); }