Add hunger: Reformat
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user