Turning the animator code into a C++ class.
Moving animation data into a cpp file.
Using a ScheduledAction to schedule animation frame processing.