roguelike-game/src/raws/spell_structs.rs

11 lines
198 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,
2022-01-25 11:15:32 -05:00
pub mana_cost: i32,
2022-01-25 09:58:30 -05:00
pub effects: HashMap<String, String>,
}