You create the animation object on the stack and it gets destroyed as soon as the constructor ends. Make it a member variable.
You create the animation object on the stack and it gets destroyed as soon as the constructor ends. Make it a member variable.
Bookmarks