Skip to content

Commit

Permalink
Regenerated docs. Modified csproj for 1.5.2 release. Used non-lambda …
Browse files Browse the repository at this point in the history
…syntax on Utility.cs ExtendToStringGrid functions, because apparantly Doxygen is incapable of handling it properly.
  • Loading branch information
Chris3606 committed Oct 20, 2018
1 parent 458f2a5 commit edf4bfd
Show file tree
Hide file tree
Showing 32 changed files with 736 additions and 99 deletions.
4 changes: 2 additions & 2 deletions GoRogue/GoRogue.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<PackageId>GoRogue</PackageId>
<PackageVersion>1.5.1</PackageVersion>
<PackageVersion>1.5.2</PackageVersion>
<Authors>Christopher Ridley</Authors>
<Description>Roguelike/2D game utility library.</Description>
<PackageLicenseUrl>https://github.com/Chris3606/GoRogue/blob/master/LICENSE</PackageLicenseUrl>
<PackageProjectUrl>https://github.com/Chris3606/GoRogue</PackageProjectUrl>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageReleaseNotes>See https://github.com/Chris3606/GoRogue/releases/tag/v1.5.1 for release notes.</PackageReleaseNotes>
<PackageReleaseNotes>See https://github.com/Chris3606/GoRogue/releases/tag/v1.5.2 for release notes.</PackageReleaseNotes>
<Copyright>Copyright © 2018 Christopher Ridley. All rights reserved.</Copyright>
<PackageTags>roguelike roguelikes rogue library 2d game games</PackageTags>
</PropertyGroup>
Expand Down
12 changes: 8 additions & 4 deletions GoRogue/Utility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,10 @@ public static string ExtendToString<T>(this T[,] array, string begin = "[\n", st
/// A string representation of the 2D array, as if the array is a 2D grid-based map.
/// </returns>
public static string ExtendToStringGrid<T>(this T[,] array, string begin = "", string beginRow = "", Func<T, string> elementStringifier = null,
string rowSeparator = "\n", string elementSeparator = " ", string endRow = "", string end = "") =>
new ArrayMap<T>(array).ExtendToString(begin, beginRow, elementStringifier, rowSeparator, elementSeparator, endRow, end);
string rowSeparator = "\n", string elementSeparator = " ", string endRow = "", string end = "")
{
return new ArrayMap<T>(array).ExtendToString(begin, beginRow, elementStringifier, rowSeparator, elementSeparator, endRow, end);
}

/// <summary>
/// Extension method for 2D arrays allowing printing the contents, as if the array represents
Expand Down Expand Up @@ -249,8 +251,10 @@ public static string ExtendToStringGrid<T>(this T[,] array, string begin = "", s
/// A string representation of the 2D array, as if the array is a 2D grid-based map.
/// </returns>
public static string ExtendToStringGrid<T>(this T[,] array, int fieldSize, string begin = "", string beginRow = "", Func<T, string> elementStringifier = null,
string rowSeparator = "\n", string elementSeparator = " ", string endRow = "", string end = "") =>
new ArrayMap<T>(array).ExtendToString(fieldSize, begin, beginRow, elementStringifier, rowSeparator, elementSeparator, endRow, end);
string rowSeparator = "\n", string elementSeparator = " ", string endRow = "", string end = "")
{
return new ArrayMap<T>(array).ExtendToString(fieldSize, begin, beginRow, elementStringifier, rowSeparator, elementSeparator, endRow, end);
}

/// <summary>
/// Extension method for List that implements a fisher-yates shuffle. Modifies the list it is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,13 @@
<p>This is the complete list of members for <a class="el" href="class_go_rogue_1_1_map_views_1_1_i_map_view_extensions.html">GoRogue.MapViews.IMapViewExtensions</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="class_go_rogue_1_1_map_views_1_1_i_map_view_extensions.html#aa360e6059a5068ebffe7d26561e55243">Bounds&lt; T &gt;</a>(this IMapView&lt; T &gt; mapView)</td><td class="entry"><a class="el" href="class_go_rogue_1_1_map_views_1_1_i_map_view_extensions.html">GoRogue.MapViews.IMapViewExtensions</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr><td class="entry"><a class="el" href="class_go_rogue_1_1_map_views_1_1_i_map_view_extensions.html#a3268eca01a36ccee763e0820e9d2ac8a">ExtendToString&lt; T &gt;</a>(this IMapView&lt; T &gt; map, string begin=&quot;&quot;, string beginRow=&quot;&quot;, Func&lt; T, string &gt; elementStringifier=null, string rowSeparator=&quot;\, string elementSeparator=&quot; &quot;, string endRow=&quot;&quot;, string end=&quot;&quot;)</td><td class="entry"><a class="el" href="class_go_rogue_1_1_map_views_1_1_i_map_view_extensions.html">GoRogue.MapViews.IMapViewExtensions</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_go_rogue_1_1_map_views_1_1_i_map_view_extensions.html#a99809fecdde1501ae1a498ef3994d674">ExtendToString&lt; T &gt;</a>(this IMapView&lt; T &gt; map, int fieldSize, string begin=&quot;&quot;, string beginRow=&quot;&quot;, Func&lt; T, string &gt; elementStringifier=null, string rowSeparator=&quot;\, string elementSeparator=&quot; &quot;, string endRow=&quot;&quot;, string end=&quot;&quot;)</td><td class="entry"><a class="el" href="class_go_rogue_1_1_map_views_1_1_i_map_view_extensions.html">GoRogue.MapViews.IMapViewExtensions</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr><td class="entry"><a class="el" href="class_go_rogue_1_1_map_views_1_1_i_map_view_extensions.html#a1e0f04b332716bcbaec476857e74d722">Positions&lt; T &gt;</a>(this IMapView&lt; T &gt; mapView)</td><td class="entry"><a class="el" href="class_go_rogue_1_1_map_views_1_1_i_map_view_extensions.html">GoRogue.MapViews.IMapViewExtensions</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_go_rogue_1_1_map_views_1_1_i_map_view_extensions.html#a89a3b757188b6ff5f489d3459b30bc5a">RandomPosition&lt; T &gt;</a>(this IMapView&lt; T &gt; mapView, T validValue, IGenerator rng=null)</td><td class="entry"><a class="el" href="class_go_rogue_1_1_map_views_1_1_i_map_view_extensions.html">GoRogue.MapViews.IMapViewExtensions</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr><td class="entry"><a class="el" href="class_go_rogue_1_1_map_views_1_1_i_map_view_extensions.html#af825fcdce4e3615e628777cc1e7013ff">RandomPosition&lt; T &gt;</a>(this IMapView&lt; T &gt; mapView, IEnumerable&lt; T &gt; validValues, IGenerator rng=null)</td><td class="entry"><a class="el" href="class_go_rogue_1_1_map_views_1_1_i_map_view_extensions.html">GoRogue.MapViews.IMapViewExtensions</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_go_rogue_1_1_map_views_1_1_i_map_view_extensions.html#a6b760c17481419d92dfe1ea4616bc737">RandomPosition&lt; T &gt;</a>(this IMapView&lt; T &gt; mapView, Func&lt; Coord, T, bool &gt; selector, IGenerator rng=null)</td><td class="entry"><a class="el" href="class_go_rogue_1_1_map_views_1_1_i_map_view_extensions.html">GoRogue.MapViews.IMapViewExtensions</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr><td class="entry"><a class="el" href="class_go_rogue_1_1_map_views_1_1_i_map_view_extensions.html#ab31c1311237699fd4053c589e208d446">RandomPosition&lt; T &gt;</a>(this IMapView&lt; T &gt; mapView, IGenerator rng=null)</td><td class="entry"><a class="el" href="class_go_rogue_1_1_map_views_1_1_i_map_view_extensions.html">GoRogue.MapViews.IMapViewExtensions</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_go_rogue_1_1_map_views_1_1_i_map_view_extensions.html#ae5d5433ffe4a186e271b1ef63b34bcfd">Size&lt; T &gt;</a>(this IMapView&lt; T &gt; mapView)</td><td class="entry"><a class="el" href="class_go_rogue_1_1_map_views_1_1_i_map_view_extensions.html">GoRogue.MapViews.IMapViewExtensions</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Expand Down
Loading

0 comments on commit edf4bfd

Please sign in to comment.