Create class AnimatedTexture