mini_arcade_core.scenes.systems.builtins.animation ================================================== .. py:module:: mini_arcade_core.scenes.systems.builtins.animation .. autoapi-nested-parse:: Animation system for the mini arcade engine. Classes ------- .. autoapisummary:: mini_arcade_core.scenes.systems.builtins.animation.HasAnimSprite mini_arcade_core.scenes.systems.builtins.animation.AnimationTickSystem Module Contents --------------- .. py:class:: HasAnimSprite Bases: :py:obj:`Protocol` Protocol for entities that have an animation and a texture. .. py:attribute:: anim :type: object | None .. py:attribute:: texture :type: int | None .. py:class:: AnimationTickSystem System to update animations and set the current frame as texture. .. py:attribute:: name :type: str :value: 'common_anim_tick' .. py:attribute:: order :type: int :value: 0 .. py:attribute:: get_entities :type: Callable[[object], Iterable[HasAnimSprite]] .. py:method:: step(ctx) Step the system, updating animations and setting textures.