diff options
Diffstat (limited to 'engine-ecs/src')
| -rw-r--r-- | engine-ecs/src/entity.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/engine-ecs/src/entity.rs b/engine-ecs/src/entity.rs index db59301..4e0ca52 100644 --- a/engine-ecs/src/entity.rs +++ b/engine-ecs/src/entity.rs @@ -317,13 +317,6 @@ impl Deref for Declaration #[allow(clippy::module_name_repetitions)] #[macro_export] macro_rules! declare_entity { - ($visibility: vis $ident: ident, $components: expr) => { - $visibility static $ident: $crate::entity::Declaration = - $crate::entity::Declaration::new(|world| { - world.spawn_with_uid(*$ident, $components); - }); - }; - ($($(#[$attr: meta])* $visibility: vis $ident: ident: $components: expr;)+) => { $( $(#[$attr])* |
