From 127521d2ff42e0dd3a75ca44702256802303dd65 Mon Sep 17 00:00:00 2001 From: HampusM Date: Wed, 7 Aug 2024 20:07:46 +0200 Subject: docs(ecs): make examples not use own start event --- ecs/examples/relationship.rs | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'ecs/examples/relationship.rs') diff --git a/ecs/examples/relationship.rs b/ecs/examples/relationship.rs index 8610b47..ce39af6 100644 --- a/ecs/examples/relationship.rs +++ b/ecs/examples/relationship.rs @@ -1,4 +1,4 @@ -use ecs::event::Event; +use ecs::event::start::Start as StartEvent; use ecs::relationship::Relationship; use ecs::{Component, Query, World}; @@ -30,16 +30,11 @@ fn print_player_stats(player_query: Query<(Player, Health, Relationship