This class represents a "hallway" that is simple enough that it is redundant
to give further directions from it to any room inside of it. This can be
useful when describing a room that's inside of another room.
An array of every Room, Stairs, or Turn in the hallway.
You can choose arbitrarily which end of the hallway to start at, but make
sure to keep the sides and directions of the Rooms, Stairs, and Turns
consistent with the direction you choose as forward.
Accessors
nodes
get nodes(): { edgeLengthFromPreviousNodeInHallway: number; nodeId: Node<ForkName, StairName> }[]
This class represents a "hallway" that is simple enough that it is redundant to give further directions from it to any room inside of it. This can be useful when describing a room that's inside of another room.
Example: