add
Adds a new animation resource to the library with the specified name.
Returns false if the name already exists.
Return
true if the resource is added; false otherwise.
Parameters
name
The name of the animation resource.
animationResource
The animation resource to add.