Expand description
Traits§
Functions§
- init_
resource - A
Command
that inserts aResource
into the world using a value created with theFromWorld
trait. - insert_
batch - A
Command
that consumes an iterator to add a series ofBundles
to a set of entities. - insert_
resource - A
Command
that inserts aResource
into the world. - remove_
resource - A
Command
that removes aResource
from the world. - run_
schedule - A
Command
that runs the schedule corresponding to the givenScheduleLabel
. - run_
system - A
Command
that runs the system corresponding to the givenSystemId
. - run_
system_ cached - A
Command
that runs the given system, caching itsSystemId
in aCachedSystemId
resource. - run_
system_ cached_ with - A
Command
that runs the given system with the given input value, caching itsSystemId
in aCachedSystemId
resource. - run_
system_ with - A
Command
that runs the system corresponding to the givenSystemId
and provides the given input value. - send_
event Deprecated - A
Command
that writes an arbitraryMessage
. - spawn_
batch - A
Command
that consumes an iterator ofBundles
to spawn a series of entities. - trigger
- Triggers the given
Event
, which will run anyObserver
s watching for it. - trigger_
with - Triggers the given
Event
using the givenTrigger
, which will run anyObserver
s watching for it. - unregister_
system - A
Command
that removes a system previously registered withCommands::register_system
orWorld::register_system
. - unregister_
system_ cached - A
Command
that removes a system previously registered with one of the following: - write_
message - A
Command
that writes an arbitraryMessage
.