Пример #1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (ImprovedGame game = new ImprovedGame())
     {
         game.Run();
     }
 }
Пример #2
0
 public ImprovedGame()
 {
     graphics = new GraphicsDeviceManager(this);
     Content.RootDirectory = "Content";
     this.IsMouseVisible   = true;
     OnlineWorker.DoWork  += new DoWorkEventHandler(OnlineWorker_DoWork);
     Main = this;
 }