[Sprite] addAnimation not easy to implement in C++.