public void TestRandomRoomsGenSize() { var map = new ArrayMap <bool>(40, 40); Generators.RandomRoomsGenerator.Generate(map, 30, 4, 6, 10); Console.WriteLine(map.ToString(b => b ? "." : "#")); }
/// <summary> /// Returns the flee-map values represented as a 2D grid-style string. /// </summary> /// <returns>A string representing the flee map values.</returns> public override string ToString() => _goalMap.ToString(val => val.HasValue ? val.Value.ToString() : "null");