JourneyFULL version only
Class in ChivalrousGames.DungeonMaster
Description
Represents a journey from a start Room to a goal Room that can go through many Levels.
Properties
Goal | Room | ReadOnly Gets the goal (destination) Room of this Journey. |
Steps | List<JourneyStep> | ReadOnly Gets the steps of this Journey. |
Length | int | ReadOnly Gets the length of this Journey. Each unit represents a Room along the way. |
Methods
GetJourneyStepsForLevel
public List GetJourneyStepsForLevel(String levelName);
Parameters
levelName | String | The name of the Level for which JourneySteps are requested. |
Return
List<JourneyStep> | The JourneySteps found for a specified Level; null if none is found. |
Description
Gets the JourneySteps for a specified Level.