Clean up animation resources.
Initialize the animation. Add your display objects to the container.
Parent container to add animation elements to
Reset animation state when loading starts.
Update animation each frame.
Current animation context with timing and dimensions
Interface for custom loading animations. Implement this to create your own loading animation plugin.
Example