mini_arcade_core.engine.animation¶
Animation module for handling frame-based animations in the mini arcade engine.
Attributes¶
Classes¶
Simple animation class that cycles through frames at a specified FPS. |
Module Contents¶
- mini_arcade_core.engine.animation.TFrame¶
- class mini_arcade_core.engine.animation.Animation[source]¶
Bases:
Generic[TFrame]Simple animation class that cycles through frames at a specified FPS.
- Variables:
- fps: float = 10.0¶
- loop: bool = True¶
- time: float = 0.0¶
- index: int = 0¶