<gh_stars>1-10
import pygame

class Animation(object):
    def __init__(self, frames, duration):
        self.frames = frames
        self.duration = duration


    def animate(self):
        pass


import pygame

class Animation(object):
    def __init__(self, frames, duration):
        self.frames = frames
        self.duration = duration


    def animate(self):
        pass