From 217c32c11566ddfa09ae5790cf1ad7c9b4100a43 Mon Sep 17 00:00:00 2001 From: HampusM Date: Wed, 21 Aug 2024 20:19:28 +0200 Subject: fix(engine): use new name of ComponentToAddedEvent --- engine/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/src/lib.rs') diff --git a/engine/src/lib.rs b/engine/src/lib.rs index 6d7c213..c87f7f7 100644 --- a/engine/src/lib.rs +++ b/engine/src/lib.rs @@ -3,7 +3,7 @@ use ecs::component::Sequence as ComponentSequence; use ecs::entity::Uid as EntityUid; -use ecs::event::component::ComponentToAddedEvent; +use ecs::event::component::TypeTransformComponentsToAddedEvents; use ecs::event::{Event, Sequence as EventSequence}; use ecs::extension::Extension; use ecs::sole::Sole; @@ -77,7 +77,7 @@ impl Engine pub fn spawn(&mut self, components: Comps) -> EntityUid where - Comps: ComponentSequence + TupleReduce, + Comps: ComponentSequence + TupleReduce, Comps::Out: EventSequence, { self.world.create_entity(components) -- cgit v1.2.3-18-g5258