This is the main type for your game
상속: Game
예제 #1
0
        public MainPage()
        {
            InitializeComponent();

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