sappho/animate.py
File animate.py
has 253 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
"""Painless animated sprites which are pygame.sprite.Sprite objects.
Animated sprites from GIF, and all YOU have to know is to `update_state`!
You just have to call `update_state` once per loop with the timedelta: