RogueSharp 5.0.0-pre4

A .NET Standard class library providing map generation, path-finding, and field-of-view utilities frequently used in roguelikes or 2D tile based games. Inspired by libtcod

New features:
  * Map and cell classes now have generic versions that are easier to inherit from.
  * Weighted pool class for randomly picking items.
  * Pathfinder class caches graph and dijkstra result for speedier performance with multiple lookups.
  * Added Map.GetCellsInRectangle method. (Thanks to Andre Odendaal)
  * Improved performance of Pathfinder class up to 75x
  * Added A* shortest path algorithm
Breaking changes:
  * Bug fix - Change Map.Create to be generic, returning the same map type as the creation strategy's map. (Thanks to Andre Odendaal)
  * Bug fix - Update Map Save and Restore methods to track IsExplored status. (Thanks to Andre Odendaal)
  * Map.Initialize is virtual so that it can be overridden in derived classes
  * Map.Clone is now virtual and generic so that it can be overridden in derived classes.
  * Removed IsInFov from Map and Cell classes (use FieldOfView class instead)
  * Removed IsExplored from Map and Cell classes

This is a prerelease version of RogueSharp.
Install-Package RogueSharp -Version 5.0.0-pre4
dotnet add package RogueSharp --version 5.0.0-pre4
<PackageReference Include="RogueSharp" Version="5.0.0-pre4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RogueSharp --version 5.0.0-pre4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

A .NET Standard class library providing map generation, path-finding, and field-of-view utilities frequently used in roguelikes or 2D tile based games. Inspired by libtcod

New features:
  * Map and cell classes now have generic versions that are easier to inherit from.
  * Weighted pool class for randomly picking items.
  * Pathfinder class caches graph and dijkstra result for speedier performance with multiple lookups.
  * Added Map.GetCellsInRectangle method. (Thanks to Andre Odendaal)
  * Improved performance of Pathfinder class up to 75x
  * Added A* shortest path algorithm
Breaking changes:
  * Bug fix - Change Map.Create to be generic, returning the same map type as the creation strategy's map. (Thanks to Andre Odendaal)
  * Bug fix - Update Map Save and Restore methods to track IsExplored status. (Thanks to Andre Odendaal)
  * Map.Initialize is virtual so that it can be overridden in derived classes
  * Map.Clone is now virtual and generic so that it can be overridden in derived classes.
  * Removed IsInFov from Map and Cell classes (use FieldOfView class instead)
  * Removed IsExplored from Map and Cell classes

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
5.0.0-pre4 105 5/25/2020
5.0.0-pre3 65 5/22/2020
5.0.0-pre2 156 1/14/2020
5.0.0-pre 193 6/30/2019
4.2.0 1,666 1/1/2019
4.1.0 1,089 8/4/2018
4.0.0 304 7/29/2018
4.0.0-pre 1,153 4/24/2017
3.0.0 4,276 2/19/2016
3.0.0-pre 769 10/4/2015
2.0.0 2,408 2/14/2015
1.2.0 924 1/15/2015
1.1.0 1,117 6/23/2014
1.0.1 1,013 5/5/2014
1.0.0 803 5/5/2014