[Sprite.addAnimation] Compatible with MicroLua.