roguelike-game/src/raws/spell_structs.rs
2022-01-25 11:15:32 -05:00

11 lines
198 B
Rust

use std::collections::HashMap;
use ::serde::Deserialize;
#[derive(Deserialize, Debug)]
pub struct Spell {
pub name: String,
pub mana_cost: i32,
pub effects: HashMap<String, String>,
}