feat: Functionally working stairs without sprite

- Made all observers public
- Observe all InteractionEvents in the app, not in the entity
- Added names to layout bundles
- Raised player speed to 4 m/s for quicker debugging
- Added second container on 2nd floor
This commit is contained in:
Alexey 2026-03-24 16:10:43 +03:00
commit 5157450ced
7 changed files with 129 additions and 9 deletions

View file

@ -99,6 +99,9 @@ impl Plugin for ExpeditionPlugin {
))
.add_systems(OnEnter(GameState::Inventory), ui::inventory::systems::setup_ui_inventory)
.add_systems(OnExit(GameState::Inventory), ui::inventory::systems::clear_ui_inventory)
.add_observer(ui::inventory::observers::on_ui_rotate);
.add_observer(ui::inventory::observers::on_ui_rotate)
.add_observer(layout::container::on_container_interact)
.add_observer(layout::door::on_door_interact)
.add_observer(layout::stairs::on_stairs_interact);
}
}