This is the main type for your game
Inheritance: Game
Example #1
0
        public MainPage()
        {
            InitializeComponent();

            FarseerPhysicsGame game = new FarseerPhysicsGame(this, Game, DebugCanvas, txtFPS, txtDebug);
            game.Run();
        }
Example #2
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();
 }