destructible items
This commit is contained in:
parent
06c3d40c65
commit
d4d25955cc
4 changed files with 32 additions and 11 deletions
|
|
@ -114,6 +114,9 @@ pub struct WantsToUseItem {
|
|||
#[derive(Component, Debug)]
|
||||
pub struct Consumable {}
|
||||
|
||||
#[derive(Component, Debug)]
|
||||
pub struct Destructible {}
|
||||
|
||||
#[derive(Component, Clone)]
|
||||
pub struct ParticleLifetime {
|
||||
pub lifetime_ms: f32,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue