Decouple a bit from spriter?

I noticed this and had similar thoughts when working on the SpritePacker. I don’t think I could have made a 2d animation from the api alone.

You are right, we need to refactor these 2d animation classes, make more 2d animation format file can added. I will figure out it later.

Hi, @Sinoid. I have finished the refactor of 2D animation. I think it is more clear and decouple from Spriter.
Now a 2D animation includes some animation tracks, and animation tracks includes some animation key, it sames as 3D animation.
Please check out the refactor-animation2d branch. I hope you enjoy it.