(self, frame, image, delay=1/10.0)
Create a flipbook view.

        frame.topleft

            where to position the view.

        frame.size

            size of each sub-image.

        image

            the spritesheet image.
Create a flipbook view.
Create a flipbook view .
def __init__(self, frame, image, delay=1/10.0):
        """Create a flipbook view.

        frame.topleft

            where to position the view.

        frame.size

            size of each sub-image.

        image

            the spritesheet image.

        """
        view.View.__init__(self, frame)
        self.image = image
        self.frame_count = self.image.get_size()[0] // frame.size[0]
        self.current_frame = 0
        self.delay = delay
        self.elapsed = 0
def __init__ ( self , frame , image , delay = 1 / 10.0 ) : view . View . __init__ ( self , frame ) self . image = image self . frame_count = self . image . get_size ( ) [ 0 ] // frame . size [ 0 ] self . current_frame = 0 self . delay = delay self . elapsed = 0