mercator  0.4.0
A terrain generation library for the Worldforge system.
Mercator::Species Class Reference

Data about a species of plant in a Forest. More...

#include <Forest.h>

Collaboration diagram for Mercator::Species:

Public Attributes

float m_probability
 Probability that this species will occur at each grid node. More...
 
float m_deviation
 Multiplyer for how deviated from the grid items should be. More...
 
ParameterDict m_parameters
 Arbitrary parameters. More...
 

Detailed Description

Data about a species of plant in a Forest.

Species objects encapsulate all the data required to determine where instances of a given species occur, and how they are scattered in a Forest.

Definition at line 39 of file Forest.h.

Member Data Documentation

◆ m_deviation

float Mercator::Species::m_deviation

Multiplyer for how deviated from the grid items should be.

Definition at line 45 of file Forest.h.

◆ m_parameters

ParameterDict Mercator::Species::m_parameters

Arbitrary parameters.

Definition at line 48 of file Forest.h.

◆ m_probability

float Mercator::Species::m_probability

Probability that this species will occur at each grid node.

Definition at line 42 of file Forest.h.


The documentation for this class was generated from the following file: