public Game() { //Init map.Generate(); map.Save(Environment.CurrentDirectory + "/" + Program.MapFile); // //if (!System.IO.File.Exists (Environment.CurrentDirectory + "/" + Program.MapFile)) { // map.Generate (); //} else // map.Load(Environment.CurrentDirectory + "/" + Program.MapFile); entityHandler = new EntityHandler(); entityHandler.parent = this; }
public Game() { //Init map.Generate (); map.Save (Environment.CurrentDirectory + "/" + Program.MapFile); // //if (!System.IO.File.Exists (Environment.CurrentDirectory + "/" + Program.MapFile)) { // map.Generate (); //} else // map.Load(Environment.CurrentDirectory + "/" + Program.MapFile); entityHandler = new EntityHandler(); entityHandler.parent = this; }