示例#1
0
文件: Main.cs 项目: fipso/Space-Game
        public Main()
            : base()
        {
            instance = this;

            graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";

            graphics.PreferredBackBufferWidth = 1200;
            graphics.PreferredBackBufferHeight = 800;

            this.Window.Title = "Space-Game by fipso (Beta 0.5)";
        }
示例#2
0
 static void Main()
 {
     using (var game = new Main())
         game.Run();
 }