diff options
Diffstat (limited to 'ecs/src/component.rs')
-rw-r--r-- | ecs/src/component.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ecs/src/component.rs b/ecs/src/component.rs index 120ba30..c1f8168 100644 --- a/ecs/src/component.rs +++ b/ecs/src/component.rs @@ -16,6 +16,8 @@ use crate::WorldData; pub trait Component: SystemInput + Any + TypeName { + fn drop_last(&self) -> bool; + #[doc(hidden)] fn as_any_mut(&mut self) -> &mut dyn Any; |