broken-battle/src/inventory.rs

17 lines
413 B
Rust
Raw Normal View History

2023-08-14 21:50:27 +01:00
use crate::equipment::{sword::Sword, gun::Gun, comp::Comp, hat::Hat, shirt::Shirt, pants::Pants, shoes::Shoes};
struct BagEquipment {
swords: Option<Vec<Sword>>,
2023-08-26 00:13:45 +01:00
guns: Option<Vec<Gun>>,
2023-08-14 21:50:27 +01:00
comps: Option<Vec<Comp>>,
hats: Option<Vec<Hat>>,
shirts: Option<Vec<Shirt>>,
pants: Option<Vec<Pants>>,
shoes: Option<Vec<Shoes>>,
}
struct Inventory {
equipment: Option<BagEquipment>,
}