DefaultJourneyRendererFULL version only

Class in ChivalrousGames.DungeonMaster / Inherits from JourneyRenderer

Description

Journey renderer based on Unity’s LineRenderer. Renders a Journey on the Dungeon’s map. A different instance of JourneyRenderer is needed for each Dungeon.

Fields

endJourneyWhenGoalReached bool If true, will hide the journey on the map when the Character reached the goal room. If false, the journey remains active.

Properties

IsJourneyDisplayed bool ReadOnly
Gets a value indicating whether a Journey is currently being displayed on the Dungeon map.

Methods

RenderJourney
public override void RenderJourney (Journey journey, Level level, int floor);
Parameters
journey Journey The Journey to render on the map.
level Level The Level currently displayed on the map.
floor int The floor currently displayed on the map.
Description

Renders a Journey on the Dungeon’s map.

UnrenderJourney
public override void UnrenderJourney();
Description

Unrenders the Journey from the Dungeon’s map.