Skip to content

Weighted Pools with random selection.

Pre-release
Pre-release

Choose a tag to compare

@FaronBracy FaronBracy released this 30 Jun 21:33
57d8058

New features:

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