Add hunger: Reformat

This commit is contained in:
2022-01-29 00:31:16 +01:00
parent 74c05f97af
commit fdeabefd75
10 changed files with 110 additions and 51 deletions

View File

@@ -5,10 +5,7 @@ use crate::{CombatStats, GameLog, Heals};
pub struct HealingSystem {}
impl<'a> System<'a> for HealingSystem {
type SystemData = (
WriteStorage<'a, Heals>,
WriteStorage<'a, CombatStats>,
);
type SystemData = (WriteStorage<'a, Heals>, WriteStorage<'a, CombatStats>);
fn run(&mut self, data: Self::SystemData) {
let (mut heals, mut stats) = data;
@@ -19,4 +16,4 @@ impl<'a> System<'a> for HealingSystem {
heals.clear();
}
}
}