snakia.core.ecs.processor

Functions

abstractmethod(funcobj)

A decorator indicating abstract methods.

Classes

ABC()

Helper class that provides a standard way to create an ABC using inheritance.

Processor()

A processor is a class that processes the system.

class snakia.core.ecs.processor.Processor[source]

Bases: ABC

A processor is a class that processes the system.

after: ClassVar[tuple[type[Processor], ...]] = ()
before: ClassVar[tuple[type[Processor], ...]] = ()
abstract process(system)[source]

Processes the system. Called once per update.

Return type:

None

Args:

system (System): The system to process.