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