xecs.SystemSpec#

class xecs.SystemSpec(function, query_args, reader_args, other_args)[source]#

Bases: object

Specification for a 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.

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.