gui, inventory, symmetrical shadowcasting, bugfixes
This commit is contained in:
parent
5b7eac3165
commit
986adb6fce
10 changed files with 355 additions and 71 deletions
|
|
@ -1,5 +1,4 @@
|
|||
use super::{CombatStats, GameLog, Name, Player, SufferDamage};
|
||||
use rltk::console;
|
||||
use super::{gamelog::GameLog, CombatStats, Name, Player, SufferDamage};
|
||||
use specs::prelude::*;
|
||||
|
||||
pub struct DamageSystem {}
|
||||
|
|
@ -38,7 +37,7 @@ pub fn delete_the_dead(ecs: &mut World) {
|
|||
}
|
||||
dead.push(entity)
|
||||
}
|
||||
Some(_) => console::log("You died."),
|
||||
Some(_) => log.entries.push(format!("YOU DIED!")),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue