2014-06-26 11:10:44 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module ActionTimelineCache
|
2014-07-02 10:15:26 +08:00
|
|
|
-- @parent_module ccs
|
2014-06-26 11:10:44 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- Clone a action with the specified name from the container.
|
2014-06-26 11:10:44 +08:00
|
|
|
-- @function [parent=#ActionTimelineCache] createAction
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #string fileName
|
2014-06-26 11:10:44 +08:00
|
|
|
-- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-06-26 11:10:44 +08:00
|
|
|
-- @function [parent=#ActionTimelineCache] purge
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-06-26 11:10:44 +08:00
|
|
|
-- @function [parent=#ActionTimelineCache] init
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-06-26 11:10:44 +08:00
|
|
|
-- @function [parent=#ActionTimelineCache] loadAnimationActionWithContent
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #string fileName
|
|
|
|
-- @param #string content
|
2014-06-26 11:10:44 +08:00
|
|
|
-- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-06-26 11:10:44 +08:00
|
|
|
-- @function [parent=#ActionTimelineCache] loadAnimationActionWithFile
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #string fileName
|
2014-06-26 11:10:44 +08:00
|
|
|
-- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- Remove action with filename, and also remove other resource relate with this file
|
2014-06-26 11:10:44 +08:00
|
|
|
-- @function [parent=#ActionTimelineCache] removeAction
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #string fileName
|
2014-06-26 11:10:44 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- Destroys the singleton
|
2014-06-26 11:10:44 +08:00
|
|
|
-- @function [parent=#ActionTimelineCache] destroyInstance
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
return nil
|