roguelike-game/src/raws/spell_structs.rs

10 lines
174 B
Rust
Raw Normal View History

2022-01-25 09:58:30 -05:00
use std::collections::HashMap;
use ::serde::Deserialize;
#[derive(Deserialize, Debug)]
pub struct Spell {
pub name: String,
pub effects: HashMap<String, String>,
}