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;