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
DraftAllowed
andDraftReady
is automatically handled and visualized by the plugin. - gameend 🔒
- spawner 🔒
Structs§
- This plugin sends events with data of type
DespData<T>
when entities with componentT
matching queryF
are despawned. The events are send from systems in setDespawnerSet::Events
. - This event is sent by
DespawnEventsPlugin
when 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.