Crate de_spawner
source ·Expand description
Object spawning and drafting functionalities.
Modules§
- counter 🔒
- draft 🔒This module implements a Bevy plugin for drafting new objects on the map. An entity marked with components
DraftAllowedandDraftReadyis automatically handled and visualized by the plugin. - gameend 🔒
- spawner 🔒
Structs§
- This plugin sends events with data of type
DespData<T>when entities with componentTmatching queryFare despawned. The events are send from systems in setDespawnerSet::Events. - This event is sent by
DespawnEventsPluginwhen a matching entity is being despawned. - Bundle to spawn a construction draft.
- Send this event to spawn an inactive object.
- Send this event to spawn a new locally simulated active object.