refactor!: Item changes

- Bump version to 0.3.0
- Moved crate::inventory::item to crate::item
- Made Item.position non-option
- Renamed Item::new_positioned -> Item::new
- Removed old Item::new method
- Changed Inventory.can_fit signature to use item borrow
This commit is contained in:
Alexey 2026-03-25 14:16:33 +03:00
commit 528c511445
13 changed files with 81 additions and 86 deletions

View file

@ -9,6 +9,7 @@ use bevy_rapier2d::{
pub mod input;
pub mod inventory;
pub mod item;
pub mod layout;
pub mod player;
#[cfg(test)]