diff options
author | HampusM <hampus@hampusmat.com> | 2025-03-18 14:35:11 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2025-03-18 14:35:11 +0100 |
commit | c1cf1b779e66e985774dad29867a57733947b0e8 (patch) | |
tree | fdee6b1aeb24b8f5fdb645dbd2e422ef3cba719f /ecs/src/actions.rs | |
parent | 7a7d3a350b22b5555c27debff6fee4fc6100fa38 (diff) |
refactor(ecs): remove Component::self_id method
Diffstat (limited to 'ecs/src/actions.rs')
-rw-r--r-- | ecs/src/actions.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ecs/src/actions.rs b/ecs/src/actions.rs index 184f811..7dff3a5 100644 --- a/ecs/src/actions.rs +++ b/ecs/src/actions.rs @@ -169,9 +169,9 @@ pub(crate) struct EventIds #[derive(Debug)] pub(crate) enum Action { - Spawn(Vec<Box<dyn Component>>, EventIds), + Spawn(Vec<(Uid, Box<dyn Component>)>, EventIds), Despawn(Uid), - AddComponents(Uid, Vec<Box<dyn Component>>, EventIds), + AddComponents(Uid, Vec<(Uid, Box<dyn Component>)>, EventIds), RemoveComponents(Uid, Vec<ComponentMetadata>, EventIds), Stop, } |