Expand description
Contains the definition of the EntityCommand
trait,
as well as the blanket implementation of the trait for closures.
It also contains functions that return closures for use with
EntityCommands
.
Enums§
- An error that occurs when running an
EntityCommand
on a specific entity.
Traits§
- A command which gets executed for a given
Entity
.
Functions§
- An
EntityCommand
that removes all components from an entity. - An
EntityCommand
that clones the specified components of an entity and inserts them into another entity. - An
EntityCommand
that clones parts of an entity onto another entity, configured throughEntityClonerBuilder
. - An
EntityCommand
that despawns an entity. - An
EntityCommand
that adds the components in aBundle
to an entity. - An
EntityCommand
that adds a dynamic component to an entity. - An
EntityCommand
that adds a component to an entity using the component’sFromWorld
implementation. - An
EntityCommand
that logs the components of an entity. - An
EntityCommand
that clones the specified components of an entity and inserts them into another entity, then removes them from the original entity. - An
EntityCommand
that removes the components in aBundle
from an entity. - An
EntityCommand
that removes a dynamic component from an entity. - An
EntityCommand
that removes the components in aBundle
from an entity, as well as the required components for each component removed. - An
EntityCommand
that removes all components from an entity, except for those in the givenBundle
. - An
EntityCommand
that sends aTrigger
targeting an entity.