corridor types, doors, some refactoring
This commit is contained in:
parent
46e0c6ec6b
commit
ab5797078c
19 changed files with 380 additions and 35 deletions
|
|
@ -53,6 +53,7 @@ impl<'a> System<'a> for TriggerSystem {
|
|||
let name = names.get(*entity_id);
|
||||
hidden.remove(*entity_id);
|
||||
if let Some(name) = name {
|
||||
particle_builder.trap_triggered(pos.x, pos.y);
|
||||
gamelog::Logger::new().item_name(&name.name).append("triggers!").log();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue