/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { //try { Console.Enabled = false; using (Game1 game = new Game1()) { game.Run(); } } //catch (Exception e) //{ // CrashForm crashForm = new CrashForm(); // crashForm.SetInfo(e.Message, e.StackTrace); // Application.Run(crashForm); //} }
public static void Init(GraphicsDeviceManager g, ContentManager c, Game1 g1) { game = g1; map = new TileSet(); cam = new Camera(g); menuManager = new MenuManager(game); content = c; InitEndgameStruct(); }