diff options
Diffstat (limited to 'ecs/src/phase.rs')
-rw-r--r-- | ecs/src/phase.rs | 6 |
1 files changed, 3 insertions, 3 deletions
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, <Relationship<ChildOf, Phase>>::new(*PRE_UPDATE))); +static_entity!(pub UPDATE, (Phase, Pair::new::<ChildOf>(*PRE_UPDATE))); -static_entity!(pub PRESENT, (Phase, <Relationship<ChildOf, Phase>>::new(*UPDATE))); +static_entity!(pub PRESENT, (Phase, Pair::new::<ChildOf>(*UPDATE))); |