/// <summary> /// Generates the map, and areas as well as the texture for the center cell and maybe it sourounding /// cells /// </summary> void Generate() { Debug.LogWarning("WARNING: Not(?) Finsihed IMPLEMENTING SUBJECT TO CHANGE"); //Area centerArea = new Area(0, rng.Next(1, 4)); HexCell center = new HexCell(0, 0); //Debug.Log(center.Coords.ToString() + " Has hash: " + center.Coords.GetHashCode()); WorldMap.Add(center.Coords, center); //set center in world map this[center.Coords] = center; for (int i = 1; i <= Radius; i++) { GenerateRing(i); } GenerateAreas((area) => { return(HexCell.DistanceBetweenCells(area.Cells[0], this[0, 0])); }); GenerateBiomes(); }