--------------------------------
-- @module AnimationCache
-- @extend Ref
-- @parent_module cc
--------------------------------
-- Returns a Animation that was previously added.
-- If the name is not found it will return nil.
-- You should retain the returned copy if you are going to use it.
-- return A Animation that was previously added. If the name is not found it will return nil.
-- @function [parent=#AnimationCache] getAnimation
-- @param self
-- @param #string name
-- @return Animation#Animation ret (return value: cc.Animation)
--------------------------------
-- Adds a Animation with a name.
-- param animation An animation.
-- param name The name of animation.
-- @function [parent=#AnimationCache] addAnimation
-- @param self
-- @param #cc.Animation animation
-- @param #string name
-- @return AnimationCache#AnimationCache self (return value: cc.AnimationCache)
--------------------------------
--
-- @function [parent=#AnimationCache] init
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Adds an animation from an NSDictionary.
-- Make sure that the frames were previously loaded in the SpriteFrameCache.
-- param dictionary An NSDictionary.
-- param plist The path of the relative file,it use to find the plist path for load SpriteFrames.
-- since v1.1
-- js NA
-- @function [parent=#AnimationCache] addAnimationsWithDictionary
-- @param self
-- @param #map_table dictionary
-- @param #string plist
-- @return AnimationCache#AnimationCache self (return value: cc.AnimationCache)
--------------------------------
-- Deletes a Animation from the cache.
-- param name The name of animation.
-- @function [parent=#AnimationCache] removeAnimation
-- @param self
-- @param #string name
-- @return AnimationCache#AnimationCache self (return value: cc.AnimationCache)
--------------------------------
-- Adds an animation from a plist file.
-- Make sure that the frames were previously loaded in the SpriteFrameCache.
-- since v1.1
-- js addAnimations
-- lua addAnimations
-- param plist An animation from a plist file.
-- @function [parent=#AnimationCache] addAnimationsWithFile
-- @param self
-- @param #string plist
-- @return AnimationCache#AnimationCache self (return value: cc.AnimationCache)
--------------------------------
-- Purges the cache. It releases all the Animation objects and the shared instance.
-- js NA
-- @function [parent=#AnimationCache] destroyInstance
-- @param self
-- @return AnimationCache#AnimationCache self (return value: cc.AnimationCache)
--------------------------------
-- Returns the shared instance of the Animation cache
-- js NA
-- @function [parent=#AnimationCache] getInstance
-- @param self
-- @return AnimationCache#AnimationCache ret (return value: cc.AnimationCache)
--------------------------------
-- js ctor
-- @function [parent=#AnimationCache] AnimationCache
-- @param self
-- @return AnimationCache#AnimationCache self (return value: cc.AnimationCache)
return nil