roguelike-game/src/raws/spawn_table_structs.rs

11 lines
226 B
Rust
Raw Normal View History

2021-12-24 10:38:44 -05:00
use ::serde::Deserialize;
2021-12-23 13:07:50 -05:00
#[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>,
}