mini_arcade_core.engine.loop.runner =================================== .. py:module:: mini_arcade_core.engine.loop.runner .. autoapi-nested-parse:: Game core module defining the Game class and configuration. Classes ------- .. autoapisummary:: mini_arcade_core.engine.loop.runner.EngineRunner Module Contents --------------- .. py:class:: EngineRunner(game: mini_arcade_core.engine.game.Game, *, pipeline: mini_arcade_core.engine.render.pipeline.RenderPipeline, effects_stack: mini_arcade_core.engine.render.effects.base.EffectStack, hooks: mini_arcade_core.engine.loop.hooks.LoopHooks | None = None) Core engine runner responsible for the main loop execution. :param game: The Game instance to run. :type game: Game :param pipeline: The RenderPipeline to use for rendering. :type pipeline: RenderPipeline :param effects_stack: The EffectStack for post-processing effects. :type effects_stack: EffectStack :param hooks: Optional LoopHooks for custom event handling. :type hooks: LoopHooks | None .. py:attribute:: game .. py:attribute:: backend .. py:attribute:: services .. py:attribute:: managers .. py:attribute:: pipeline .. py:attribute:: effects_stack .. py:attribute:: hooks :value: None .. py:method:: stop() Stop the engine runner loop. .. py:method:: run(*, cfg: mini_arcade_core.engine.loop.config.RunnerConfig, timer: mini_arcade_core.utils.FrameTimer | None = None) Run the main loop with the given configuration. :param cfg: RunnerConfig instance. :type cfg: RunnerConfig :param timer: Optional FrameTimer for profiling. :type timer: FrameTimer | None