roguelike-game/src/raws/spawn_table_structs.rs

11 lines
224 B
Rust
Raw Normal View History

2021-12-23 13:07:50 -05:00
use serde::Deserialize;
#[derive(Deserialize, Debug)]
pub struct SpawnTableEntry {
pub name: String,
pub weight: i32,
pub min_depth: i32,
pub max_depth: i32,
pub add_map_depth_to_weight: Option<bool>,
}