Skip to main content

ForestNodeMapSpawnData

A class in Root.Township, the global namespace.

Spawn data for objects placed by forest generation on a node or edge of the forest map. Takes its attributes from that node or edge.

Constructors​

MemberWhat it is
ForestNodeMapSpawnData(ForestGeneration forest, Node node, Edge edge, bool isGenerating)Creates a ForestNodeMapSpawnData from forest, node, edge and isGenerating.

Properties​

MemberWhat it is
Edge Edge { get; }The forest map edge the object belongs to, if any.
ForestGeneration Forest { get; }The forest generation that placed the object.
Node Node { get; }The forest map node the object belongs to, if any.