Adds methods to handle animations in GIF and Sprite

pause on the frame define
setter loop animation
definition to time by frame