示例#1
0
 static void Main(string[] args)
 {
     using (spaceGame game = new spaceGame())
     {
         game.Run();
     }
 }
示例#2
0
 public spaceGame()
 {
     graphics = new GraphicsDeviceManager(this);
     graphics.PreferredBackBufferWidth  = 1920;
     graphics.PreferredBackBufferHeight = 1080;
     //graphics.IsFullScreen = true;
     Content.RootDirectory = "Content";
     instance = this;
 }