xecs.FixedTimeStepSystemSpec#
- class xecs.FixedTimeStepSystemSpec(function, query_args, reader_args, other_args, time_step)[source]#
Bases:
object
Specification for a fixed time step system.
- Parameters:
function (Callable[[...], Any]) – The function which runs the system.
query_args (dict[str, Query[Any]]) – The query arguments for the system.
reader_args (dict[str, EventReader[Any]]) – The event reader arguments for the system.
other_args (dict[str, Commands | Resource | World | EventWriter]) – The other arguments for the system.
time_step (Duration) – The time span between runs of the system.
Methods
Attributes
The function which runs the system.
The query arguments for the system.
The event reader arguments for the system.
The other arguments for the system.
The time span between runs of the system.
The amount of time which has not been simulated yet by the system.
- other_args: dict[str, Commands | Resource | World | EventWriter]#
The other arguments for the system.
- reader_args: dict[str, EventReader[Any]]#
The event reader arguments for the system.