added interpolation system to the sprite class for simple animation, works well with lua