1
0
Fork 0
roguelike-game/src/raws/faction_structs.rs

17 lines
290 B
Rust

use std::collections::HashMap;
use ::serde::Deserialize;
#[derive(Deserialize, Debug)]
pub struct FactionInfo {
pub name: String,
pub responses: HashMap<String, String>,
}
#[derive(Debug, PartialEq, Eq, Hash, Copy, Clone)]
pub enum Reaction {
Ignore,
Attack,
Flee,
}