Skip to main content

RiverNodeMapSpawnData

A class in Root.Township, the global namespace.

Spawn data passed to things spawned on the river map during forest generation, carrying the river node or path they belong to. Takes its attributes from the node, or the path's start node.

Constructors​

MemberWhat it is
RiverNodeMapSpawnData(ForestGeneration forest, RiverNode node, RiverPath edge, bool isGenerating)Creates a RiverNodeMapSpawnData from forest, node, edge and isGenerating.

Properties​

MemberWhat it is
RiverPath Edge { get; }River path the spawn is on, or null.
ForestGeneration Forest { get; }Forest generation doing the spawn.
RiverNode Node { get; }River node the spawn is at, or null.