Function de_spawner::draft::update_draft
source · fn update_draft(
drafts: Query<'_, '_, (&Transform, &ObjectTypeComponent, &mut DraftAllowed)>,
solids: SpatialQuery<'_, '_, Entity, Or<(With<StaticSolid>, With<MovableSolid>)>>,
solid_objects: SolidObjects<'_>,
bounds: Res<'_, MapBounds>
)