inventory finishes
This commit is contained in:
parent
aadb966fa4
commit
f26adf352e
6 changed files with 126 additions and 5 deletions
|
|
@ -13,6 +13,7 @@ pub struct Renderable {
|
|||
pub glyph: rltk::FontCharType,
|
||||
pub fg: RGB,
|
||||
pub bg: RGB,
|
||||
pub render_order: i32,
|
||||
}
|
||||
|
||||
#[derive(Component, Debug)]
|
||||
|
|
@ -84,6 +85,11 @@ pub struct WantsToPickupItem {
|
|||
pub item: Entity,
|
||||
}
|
||||
|
||||
#[derive(Component, Debug, Clone)]
|
||||
pub struct WantsToDropItem {
|
||||
pub item: Entity,
|
||||
}
|
||||
|
||||
#[derive(Component, Debug)]
|
||||
pub struct WantsToDrinkPotion {
|
||||
pub potion: Entity,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue