Info
Version: | 5.0.0-pre4 |
Author(s): | Faron Bracy |
Last Update: | Monday, May 25, 2020 |
.NET Fiddle: | Online Example |
Project Url: | https://github.com/FaronBracy/RogueSharp |
NuGet Url: | https://www.nuget.org/packages/RogueSharp |
Install
Install-Package RogueSharp
dotnet add package RogueSharp
paket add RogueSharp
RogueSharp Download (Unzip the "nupkg" after downloading)
Dependencies
.NETFramework 4.0
No dependencies.
- NETStandard.Library(>= 1.6.1)
Tags
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.