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
Bundleindicating that an entity should be spawned with thatBundle. This is intended to be used for hierarchical spawning via traits likeSpawnableListandSpawnRelated. - Spawn
Iter - A
SpawnableListthat spawns entities using an iterator of a givenBundle: - Spawn
OneRelated - A
Bundlethat: - Spawn
Related Bundle - A
Bundlethat: - Spawn
With - A
SpawnableListthat spawns entities using aFnOncewith aRelatedSpawneras an argument: - With
OneRelated - A wrapper over an
Entityindicating that an entity should be added. This is intended to be used for hierarchical spawning via traits likeSpawnableListandSpawnRelated. - With
Related - A
SpawnableListthat links already spawned entities to the root entity via relations of typeI.
Traits§
- Spawn
Related RelationshipTargetmethods that create aBundlewith aDynamicBundle::Effectthat:- Spawnable
List - A spawn-able list of changes to a given
Worldand relative to a givenEntity. This is generally used for spawning “related” entities, such as children.