public WorldNode(World w, int x, int y, int z) { X =x; Y=y; Z=z; owner =w; }
public Manager() { this.world = new World (); this.AddUnit(new Unit ("Paul", world.GetCoords (1, 1), 1)); this.AddUnit (new Unit ("Lee", world.GetCoords (5, 5), 2)); //check to ensure teh directories we need exist if (!Directory.Exists (Game.Instance.Settings.DataDirectory)) { Directory.CreateDirectory (Game.Instance.Settings.DataDirectory); if (!Directory.Exists (Game.Instance.Settings.SaveDirectory)) { Directory.CreateDirectory (Game.Instance.Settings.SaveDirectory); } } }