From e30362d18eb10bf34c53f0100dfdb811b4e29ffd Mon Sep 17 00:00:00 2001 From: jackc Date: Wed, 26 Jul 2023 09:01:36 +1200 Subject: [PATCH] last minor changes --- crates/spawner/src/{destroyer.rs => despawner.rs} | 0 crates/spawner/src/lib.rs | 9 +++------ 2 files changed, 3 insertions(+), 6 deletions(-) rename crates/spawner/src/{destroyer.rs => despawner.rs} (100%) diff --git a/crates/spawner/src/destroyer.rs b/crates/spawner/src/despawner.rs similarity index 100% rename from crates/spawner/src/destroyer.rs rename to crates/spawner/src/despawner.rs diff --git a/crates/spawner/src/lib.rs b/crates/spawner/src/lib.rs index 9a9debf1..5025d1b1 100644 --- a/crates/spawner/src/lib.rs +++ b/crates/spawner/src/lib.rs @@ -3,20 +3,17 @@ use bevy::{app::PluginGroupBuilder, prelude::*}; use counter::CounterPlugin; pub use counter::ObjectCounter; -pub use destroyer::DespawnEvent; -pub use destroyer::DespawnEventsPlugin; -pub use destroyer::DespawnedComponentsEvent; -pub use destroyer::DespawnerSet; +pub use despawner::{DespawnEvent, DespawnEventsPlugin, DespawnedComponentsEvent, DespawnerSet}; use draft::DraftPlugin; pub use draft::{DraftAllowed, DraftBundle}; use gameend::GameEndPlugin; pub use spawner::SpawnBundle; use spawner::SpawnerPlugin; -use crate::destroyer::DespawnerPlugin; +use crate::despawner::DespawnerPlugin; mod counter; -mod destroyer; +mod despawner; mod draft; mod gameend; mod spawner;