Expand description
Entity spawning abstractions, largely focused on spawning related hierarchies of entities. See related
and SpawnRelated
for the best entry points into these APIs and examples of how to use them.
Structs§
- Spawn
- A wrapper over a
Bundle
indicating that an entity should be spawned with thatBundle
. This is intended to be used for hierarchical spawning via traits likeSpawnableList
andSpawnRelated
. - Spawn
Iter - A
SpawnableList
that spawns entities using an iterator of a givenBundle
: - Spawn
OneRelated - A
Bundle
that: - Spawn
Related Bundle - A
Bundle
that: - Spawn
With - A
SpawnableList
that spawns entities using aFnOnce
with aRelatedSpawner
as an argument:
Traits§
- Spawn
Related RelationshipTarget
methods that create aBundle
with aDynamicBundle::Effect
that:- Spawnable
List - A spawn-able list of changes to a given
World
and relative to a givenEntity
. This is generally used for spawning “related” entities, such as children.