def __init__(self, image, duration):
        self.image = image
        self.duration = duration
Create an animation frame from an image.
dataset/ETHPy150Open ardekantur/pyglet/pyglet/image/__init__.py/AnimationFrame.__init__