item flashing
This commit is contained in:
@@ -2,15 +2,10 @@ use bevy::prelude::*;
|
||||
|
||||
#[derive(Component, Debug)]
|
||||
pub struct Container {
|
||||
// Maximum weight this container can hold
|
||||
pub max_weight: u32,
|
||||
// Maximum number of items (None = unlimited)
|
||||
pub max_items: Option<u32>,
|
||||
// Current weight of contents
|
||||
pub current_weight: u32,
|
||||
// List of item entities contained
|
||||
pub contents: Vec<Entity>, // TODO - move away from Entity
|
||||
// Whether the container is currently open/accessible
|
||||
pub is_open: bool,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user