Enum base::gen::world::biome::Biome
[−]
[src]
pub enum Biome {
GrassLand,
Desert,
Snow,
Forest,
RainForest,
Savanna,
Stone,
Debug,
}Variants
GrassLandDesertSnowForestRainForestSavannaStoneDebugMethods
impl Biome[src]
fn material(&self) -> GroundMaterial
fn plant_threshold(&self) -> f32
fn from_climate(temperature: f32, humidity: f32) -> Biome
fn plant_distribution(&self) -> &'static [PlantType]
Trait Implementations
impl PartialEq for Biome[src]
fn eq(&self, __arg_0: &Biome) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Debug for Biome[src]
impl Clone for Biome[src]
fn clone(&self) -> Biome
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more