mirror of https://github.com/axmolengine/axmol.git
90 lines
3.0 KiB
Lua
90 lines
3.0 KiB
Lua
|
|
--------------------------------
|
|
-- @module ActionTimelineCache
|
|
-- @parent_module ccs
|
|
|
|
--------------------------------
|
|
-- Clone a action with the specified name from the container.
|
|
-- @function [parent=#ActionTimelineCache] createActionFromJson
|
|
-- @param self
|
|
-- @param #string fileName
|
|
-- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#ActionTimelineCache] createActionWithFlatBuffersFile
|
|
-- @param self
|
|
-- @param #string fileName
|
|
-- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#ActionTimelineCache] loadAnimationActionWithFlatBuffersFile
|
|
-- @param self
|
|
-- @param #string fileName
|
|
-- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#ActionTimelineCache] createActionFromContent
|
|
-- @param self
|
|
-- @param #string fileName
|
|
-- @param #string content
|
|
-- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#ActionTimelineCache] purge
|
|
-- @param self
|
|
-- @return ActionTimelineCache#ActionTimelineCache self (return value: ccs.ActionTimelineCache)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#ActionTimelineCache] init
|
|
-- @param self
|
|
-- @return ActionTimelineCache#ActionTimelineCache self (return value: ccs.ActionTimelineCache)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#ActionTimelineCache] loadAnimationActionWithContent
|
|
-- @param self
|
|
-- @param #string fileName
|
|
-- @param #string content
|
|
-- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#ActionTimelineCache] loadAnimationActionWithFile
|
|
-- @param self
|
|
-- @param #string fileName
|
|
-- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline)
|
|
|
|
--------------------------------
|
|
-- Remove action with filename, and also remove other resource relate with this file
|
|
-- @function [parent=#ActionTimelineCache] removeAction
|
|
-- @param self
|
|
-- @param #string fileName
|
|
-- @return ActionTimelineCache#ActionTimelineCache self (return value: ccs.ActionTimelineCache)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#ActionTimelineCache] createActionWithFlatBuffersForSimulator
|
|
-- @param self
|
|
-- @param #string fileName
|
|
-- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline)
|
|
|
|
--------------------------------
|
|
-- Destroys the singleton
|
|
-- @function [parent=#ActionTimelineCache] destroyInstance
|
|
-- @param self
|
|
-- @return ActionTimelineCache#ActionTimelineCache self (return value: ccs.ActionTimelineCache)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#ActionTimelineCache] createAction
|
|
-- @param self
|
|
-- @param #string fileName
|
|
-- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline)
|
|
|
|
return nil
|