mini_arcade_core.engine.loop.runner¶
Game core module defining the Game class and configuration.
Classes¶
Core engine runner responsible for the main loop execution. |
Module Contents¶
- class mini_arcade_core.engine.loop.runner.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.
- Parameters:
game (Game) – The Game instance to run.
pipeline (RenderPipeline) – The RenderPipeline to use for rendering.
effects_stack (EffectStack) – The EffectStack for post-processing effects.
hooks (LoopHooks | None) – Optional LoopHooks for custom event handling.
- game¶
- backend¶
- services¶
- managers¶
- pipeline¶
- effects_stack¶
- hooks = None¶
- stop()¶
Stop the engine runner loop.
- 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.
- Parameters:
cfg (RunnerConfig) – RunnerConfig instance.
timer (FrameTimer | None) – Optional FrameTimer for profiling.