Exemplo n.º 1
0
 static void Main(string[] args)
 {
     using (WarSpotGame game = new WarSpotGame())
     {
         game.Run();
     }
 }
Exemplo n.º 2
0
 public WarSpotGame()
 {
     Instance              = this;
     _graphics             = new GraphicsDeviceManager(this);
     Content.RootDirectory = "Content";
     _graphics.PreferredBackBufferWidth  = 800;
     _graphics.PreferredBackBufferHeight = 600;
     IsMouseVisible = true;
 }