destructible items

This commit is contained in:
Llywelwyn 2023-07-09 09:23:52 +01:00
parent 06c3d40c65
commit d4d25955cc
4 changed files with 32 additions and 11 deletions

View file

@ -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,