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:

Methods

Attributes

function

The function which runs the system.

query_args

The query arguments for the system.

reader_args

The event reader arguments for the system.

other_args

The other arguments for the system.

time_step

The time span between runs of the system.

time_to_simulate

The amount of time which has not been simulated yet by the system.

function: Callable[[...], Any]#

The function which runs the system.

other_args: dict[str, Commands | Resource | World | EventWriter]#

The other arguments for 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.

time_step: Duration#

The time span between runs of the system.

time_to_simulate: Duration#

The amount of time which has not been simulated yet by the system.