roguelike-game/src/raws/spawn_table_structs.rs

13 lines
248 B
Rust
Raw Normal View History

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