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
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" />
paket add RogueSharp --version 5.0.0-pre4
#r "nuget: RogueSharp, 5.0.0-pre4"
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
Dependencies
-
.NETFramework 4.0
- No dependencies.
-
.NETStandard 1.0
- NETStandard.Library (>= 1.6.1)
Used By
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 | 260 | 5/25/2020 |
5.0.0-pre3 | 136 | 5/22/2020 |
5.0.0-pre2 | 237 | 1/14/2020 |
5.0.0-pre | 256 | 6/30/2019 |
4.2.0 | 2,461 | 1/1/2019 |
4.1.0 | 1,269 | 8/4/2018 |
4.0.0 | 449 | 7/29/2018 |
4.0.0-pre | 1,309 | 4/24/2017 |
3.0.0 | 4,506 | 2/19/2016 |
3.0.0-pre | 898 | 10/4/2015 |
2.0.0 | 2,576 | 2/14/2015 |
1.2.0 | 1,072 | 1/15/2015 |
1.1.0 | 1,258 | 6/23/2014 |
1.0.1 | 1,141 | 5/5/2014 |
1.0.0 | 954 | 5/5/2014 |