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

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