getAnimationTime( name ) {

		let time = 0;

		const animation = this.animationsMap[ name ];

		if ( animation ) {

			time = animation.time;

		}

		return time;

	}
Returns the time for the defined animation.

@param {string} name - The animation name.
@return {number} The time.