DefaultJourneyCalculatorFULL version only

Class in ChivalrousGames.DungeonMaster / Inherits from JourneyCalculator

Description

Default Journey calculator. Uses a custom implementation of A* pathfinding. Allows to determine the shortest Journey through a Dungeon.

Methods

CalculateJourney
public override Journey CalculateJourney(DungeonCharacter character, Room goal);
Parameters
character DungeonCharacter Character who wants to undertake a journey.
goal Room Goal room of the journey.
Return
Journey The journey or null if no possible journey could be found.
Description

Calculates the journey starting from a characters location toward a goal room.