19 lines
353 B
Rust
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
|
|
}
|
|
}
|