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