Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • RoadData

Index

Properties

Optional features

features: undefined | string[]

Optional hasTraffic

hasTraffic: undefined | boolean

Optional isDeadEnd

isDeadEnd: undefined | boolean

Optional material

material: undefined | string

name

name: RoadType

probability

probability: number

wordNoun

wordNoun: "square" | "trail" | "road" | "street" | "lane" | "way" | "crescent" | "close" | "wynd" | "row" | "dyke" | "avenue" | "alley" | "drive" | "boulevard" | "plaza" | "track" | "cul-de-sac"

This is distinct from the name- "you walk down the crescent" doesn't sound natural. A crescent is a type of road.

Methods

Optional exclusions

  • exclusions(town: Town): boolean

Optional precedingText

  • precedingText(town: Town, road: Road): string

width

  • width(): number

Generated using TypeDoc