mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
23 lines
402 B
Rust
23 lines
402 B
Rust
use serde::{Deserialize, Serialize};
|
|
use strum_macros::EnumIter;
|
|
|
|
#[derive(Debug, Copy, Clone, Serialize, Deserialize, PartialEq, Eq, Hash, EnumIter)]
|
|
pub enum BiomeKind {
|
|
Void,
|
|
Lake,
|
|
Grassland,
|
|
Ocean,
|
|
Mountain,
|
|
Snowland,
|
|
Desert,
|
|
Swamp,
|
|
Jungle,
|
|
Forest,
|
|
Savannah,
|
|
Taiga,
|
|
}
|
|
|
|
impl Default for BiomeKind {
|
|
fn default() -> BiomeKind { BiomeKind::Void }
|
|
}
|