use ecs_macros::Component; use crate::relationship::{ChildOf, Relationship}; use crate::static_entity; #[derive(Debug, Default, Clone, Copy, Component)] pub struct Phase; static_entity!(pub START, (Phase,)); static_entity!(pub PRE_UPDATE, (Phase,)); static_entity!(pub UPDATE, (Phase, >::new(*PRE_UPDATE))); static_entity!(pub PRESENT, (Phase, >::new(*UPDATE)));