RogueSharp 5.0.0-pre2

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)
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.

This is a prerelease version of RogueSharp.
There is a newer prerelease version of this package available.
See the version list below for details.
Install-Package RogueSharp -Version 5.0.0-pre2
dotnet add package RogueSharp --version 5.0.0-pre2
<PackageReference Include="RogueSharp" Version="5.0.0-pre2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RogueSharp --version 5.0.0-pre2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: RogueSharp, 5.0.0-pre2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install RogueSharp as a Cake Addin
#addin nuget:?package=RogueSharp&version=5.0.0-pre2&prerelease

// Install RogueSharp as a Cake Tool
#tool nuget:?package=RogueSharp&version=5.0.0-pre2&prerelease
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)
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.

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 341 5/25/2020
5.0.0-pre3 191 5/22/2020
5.0.0-pre2 295 1/14/2020
5.0.0-pre 327 6/30/2019
4.2.0 2,835 1/1/2019
4.1.0 1,332 8/4/2018
4.0.0 510 7/29/2018
4.0.0-pre 1,367 4/24/2017
3.0.0 4,648 2/19/2016
3.0.0-pre 968 10/4/2015
2.0.0 2,658 2/14/2015
1.2.0 1,136 1/15/2015
1.1.0 1,346 6/23/2014
1.0.1 1,224 5/5/2014
1.0.0 1,023 5/5/2014