generated from 2ndbeam/bevy-template
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:
parent
764e196d39
commit
5157450ced
7 changed files with 129 additions and 9 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue