Added access to the AnimationData of sprite

Access to the AnimationData instance allows to know how many frames are they in the animation