xecs.SystemSpec#
- class xecs.SystemSpec(function, query_args, reader_args, other_args)[source]#
Bases:
object
Specification for a 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.
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.
- 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.