RogueSharp 4.0.0-pre

A portable class library for roguelike developers to provide 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:
      * 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

This is a prerelease version of RogueSharp.
Install-Package RogueSharp -Version 4.0.0-pre
dotnet add package RogueSharp --version 4.0.0-pre
paket add RogueSharp --version 4.0.0-pre
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

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:
      * 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

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
4.0.0-pre (current version) 399 4/24/2017
3.0.0 2,737 2/19/2016
3.0.0-pre 228 10/4/2015
2.0.0 1,684 2/14/2015
1.2.0 299 1/15/2015
1.1.0 469 6/23/2014
1.0.1 384 5/5/2014
1.0.0 199 5/5/2014