diff options
Diffstat (limited to 'ecs/examples')
-rw-r--r-- | ecs/examples/extension.rs | 2 | ||||
-rw-r--r-- | ecs/examples/multiple_queries.rs | 2 | ||||
-rw-r--r-- | ecs/examples/optional_component.rs | 2 | ||||
-rw-r--r-- | ecs/examples/relationship.rs | 2 | ||||
-rw-r--r-- | ecs/examples/simple.rs | 2 | ||||
-rw-r--r-- | ecs/examples/with_local.rs | 2 | ||||
-rw-r--r-- | ecs/examples/with_sole.rs | 2 |
7 files changed, 0 insertions, 14 deletions
diff --git a/ecs/examples/extension.rs b/ecs/examples/extension.rs index 97c57a6..2022b05 100644 --- a/ecs/examples/extension.rs +++ b/ecs/examples/extension.rs @@ -69,8 +69,6 @@ fn main() world.add_extension(EnemySpawningExtension); - world.prepare(); - for _ in 0..7 { world.emit(Update); diff --git a/ecs/examples/multiple_queries.rs b/ecs/examples/multiple_queries.rs index d1fd3f1..2736bce 100644 --- a/ecs/examples/multiple_queries.rs +++ b/ecs/examples/multiple_queries.rs @@ -81,7 +81,5 @@ fn main() world.create_entity((AttackStrength::Strong,)); world.create_entity((AttackStrength::Weak,)); - world.prepare(); - world.emit(StartEvent); } diff --git a/ecs/examples/optional_component.rs b/ecs/examples/optional_component.rs index cd0679b..e47bf2e 100644 --- a/ecs/examples/optional_component.rs +++ b/ecs/examples/optional_component.rs @@ -82,7 +82,5 @@ fn main() Aggressivity::Low, )); - world.prepare(); - world.emit(PettingTime); } diff --git a/ecs/examples/relationship.rs b/ecs/examples/relationship.rs index ce39af6..81f6028 100644 --- a/ecs/examples/relationship.rs +++ b/ecs/examples/relationship.rs @@ -44,7 +44,5 @@ fn main() Relationship::<Holding, Sword>::new(&world, sword_uid), )); - world.prepare(); - world.emit(StartEvent); } diff --git a/ecs/examples/simple.rs b/ecs/examples/simple.rs index d29970d..4057c84 100644 --- a/ecs/examples/simple.rs +++ b/ecs/examples/simple.rs @@ -38,7 +38,5 @@ fn main() Greeting { greeting: "Good evening".to_string() }, )); - world.prepare(); - world.emit(StartEvent); } diff --git a/ecs/examples/with_local.rs b/ecs/examples/with_local.rs index 0d5e366..5890b90 100644 --- a/ecs/examples/with_local.rs +++ b/ecs/examples/with_local.rs @@ -69,8 +69,6 @@ fn main() world.create_entity((SomeData { num: 345 },)); - world.prepare(); - world.emit(Update); println!("Haha"); diff --git a/ecs/examples/with_sole.rs b/ecs/examples/with_sole.rs index 6dec271..a387bea 100644 --- a/ecs/examples/with_sole.rs +++ b/ecs/examples/with_sole.rs @@ -53,8 +53,6 @@ fn main() world.add_sole(AmmoCounter::default()).unwrap(); - world.prepare(); - world.emit(EventA); world.emit(EventB); |