RogueSharp 4.2.0

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:
  * Optimized cave map generator (Thanks to James Neal)
  * Optimized DijkstraShortestPath.FindPath method (Thanks to flend for this update)
  * Multiple new "Try" methods which return null instead of throwing exceptions
  * Diagonal paths can be found by using new constructors on GoalMap and PathFinder
  * Map.GetCellsInCircle and Map.GetBorderCellsInCircle to get cells within a circular radius
Breaking changes:
  * Bug fix (4.2.0) - EdgeWeightedDigraph updates NumberOfEdges property when new edge is added
  * Bug fix (4.1.0) - selecting border cells along edge of map no longer selects center cell
  * Point and Rectangle classes are now structs (Thanks to James Neal)
  * Updated all appropriate references to Cell with ICell (Thanks to Courtney Strachan)
  * Map.ComputeFov and Map.AppendFov both return a ReadonlyCollection of ICell instead void
  * The Path returned from PathFinder.ShortestPath now includes the source cell in the returned Path
  * Map.GetCellsInArea was renamed to Map.GetCellsInSquare
  * Map.GetCellsInRadius was renamed to Map.GetCellsInDiamond

There is a newer prerelease version of this package available.
See the version list below for details.
Install-Package RogueSharp -Version 4.2.0
dotnet add package RogueSharp --version 4.2.0
<PackageReference Include="RogueSharp" Version="4.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RogueSharp --version 4.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: RogueSharp, 4.2.0"
#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=4.2.0

// Install RogueSharp as a Cake Tool
#tool nuget:?package=RogueSharp&version=4.2.0
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:
  * Optimized cave map generator (Thanks to James Neal)
  * Optimized DijkstraShortestPath.FindPath method (Thanks to flend for this update)
  * Multiple new "Try" methods which return null instead of throwing exceptions
  * Diagonal paths can be found by using new constructors on GoalMap and PathFinder
  * Map.GetCellsInCircle and Map.GetBorderCellsInCircle to get cells within a circular radius
Breaking changes:
  * Bug fix (4.2.0) - EdgeWeightedDigraph updates NumberOfEdges property when new edge is added
  * Bug fix (4.1.0) - selecting border cells along edge of map no longer selects center cell
  * Point and Rectangle classes are now structs (Thanks to James Neal)
  * Updated all appropriate references to Cell with ICell (Thanks to Courtney Strachan)
  * Map.ComputeFov and Map.AppendFov both return a ReadonlyCollection of ICell instead void
  * The Path returned from PathFinder.ShortestPath now includes the source cell in the returned Path
  * Map.GetCellsInArea was renamed to Map.GetCellsInSquare
  * Map.GetCellsInRadius was renamed to Map.GetCellsInDiamond

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 317 5/25/2020
5.0.0-pre3 169 5/22/2020
5.0.0-pre2 274 1/14/2020
5.0.0-pre 306 6/30/2019
4.2.0 2,723 1/1/2019
4.1.0 1,309 8/4/2018
4.0.0 488 7/29/2018
4.0.0-pre 1,344 4/24/2017
3.0.0 4,611 2/19/2016
3.0.0-pre 943 10/4/2015
2.0.0 2,627 2/14/2015
1.2.0 1,114 1/15/2015
1.1.0 1,319 6/23/2014
1.0.1 1,196 5/5/2014
1.0.0 996 5/5/2014