roguelike-game/src/raws/faction_structs.rs
2022-01-11 14:16:23 -05:00

17 lines
283 B
Rust

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