pub trait MarkersToBiomes {
    // Required method
    fn markers_to_biomes(
        &self,
        marker_map: &[Vec<Marker>]
    ) -> Vec<Vec<BiomeData>>;
}
Expand description

Trait to convert a map of Marker to appropriate biomes from a Realm

Required Methods§

source

fn markers_to_biomes(&self, marker_map: &[Vec<Marker>]) -> Vec<Vec<BiomeData>>

Convert a map of Marker to appropriate biomes from a Realm

This takes into account the Realm’s BiomeData and the Marker’s Biome which is elevation based. First we look at what biomes are available in the Realm and then come up with how to match them to the 20 possible elevations from the Marker map.

Implementors§