diff options
| author | HampusM <hampus@hampusmat.com> | 2026-07-21 15:16:47 +0200 |
|---|---|---|
| committer | HampusM <hampus@hampusmat.com> | 2026-07-21 15:16:47 +0200 |
| commit | 763b01fd3f35842d1bc065ad27e5a6a6d4265cef (patch) | |
| tree | 69fc44d636324059aed5d0034c0d45a7b0a2a0f9 /engine-ecs/src/entity.rs | |
| parent | 63675d4168224b66d28c9d64a8e121ef397d4edd (diff) | |
refactor(engine-ecs): remove old declare_entity macro rule
Diffstat (limited to 'engine-ecs/src/entity.rs')
| -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])* |
