Add chapter: 18
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
use rltk::console;
|
||||
use specs::prelude::*;
|
||||
|
||||
use crate::{Map, Name, Position, RunState};
|
||||
use crate::components::{CombatStats, Player, SufferDamage};
|
||||
use crate::gamelog::GameLog;
|
||||
use crate::{Map, Name, Position, RunState};
|
||||
|
||||
pub struct DamageSystem {}
|
||||
|
||||
@@ -13,7 +13,7 @@ impl<'a> System<'a> for DamageSystem {
|
||||
WriteStorage<'a, SufferDamage>,
|
||||
ReadStorage<'a, Position>,
|
||||
WriteExpect<'a, Map>,
|
||||
Entities<'a>
|
||||
Entities<'a>,
|
||||
);
|
||||
|
||||
fn run(&mut self, data: Self::SystemData) {
|
||||
|
Reference in New Issue
Block a user