From 94e5e592baea2935af7c94ad44805a09d0e30740 Mon Sep 17 00:00:00 2001 From: HampusM Date: Wed, 9 Apr 2025 20:50:14 +0200 Subject: feat(ecs): replace Relationship component with pair UID support --- ecs/src/phase.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ecs/src/phase.rs') diff --git a/ecs/src/phase.rs b/ecs/src/phase.rs index b8660f2..48dd38d 100644 --- a/ecs/src/phase.rs +++ b/ecs/src/phase.rs @@ -1,6 +1,6 @@ use ecs_macros::Component; -use crate::relationship::{ChildOf, Relationship}; +use crate::pair::{ChildOf, Pair}; use crate::static_entity; #[derive(Debug, Default, Clone, Copy, Component)] @@ -10,6 +10,6 @@ static_entity!(pub START, (Phase,)); static_entity!(pub PRE_UPDATE, (Phase,)); -static_entity!(pub UPDATE, (Phase, >::new(*PRE_UPDATE))); +static_entity!(pub UPDATE, (Phase, Pair::new::(*PRE_UPDATE))); -static_entity!(pub PRESENT, (Phase, >::new(*UPDATE))); +static_entity!(pub PRESENT, (Phase, Pair::new::(*UPDATE))); -- cgit v1.2.3-18-g5258