This is the main type for your game
Inheritance: Game
Ejemplo n.º 1
0
        public MainPage()
        {
            InitializeComponent();

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