broken-battle/src/equipment/hat.rs
2023-08-14 15:50:27 -05:00

19 lines
353 B
Rust

use crate::statistics::StatBlock;
#[derive(Debug, Clone)]
pub struct Hat {
name: String,
stat_mods: StatBlock,
}
impl Hat {
pub fn new() -> Hat {
Hat {
name: String::from("Basic Hat"),
stat_mods: StatBlock::new_zero(),
}
}
pub fn stat_mods(self) -> StatBlock {
self.stat_mods
}
}