#include <CCActionTimelineCache.h>
Public Member Functions | |
virtual | ~ActionTimelineCache () |
void | purge () |
void | init () |
void | removeAction (const std::string &fileName) |
Remove action with filename, and also remove other resource relate with this file. More... | |
ActionTimeline * | createAction (const std::string &fileName) |
Clone a action with the specified name from the container. More... | |
ActionTimeline * | loadAnimationActionWithFile (const std::string &fileName) |
ActionTimeline * | loadAnimationActionWithContent (const std::string &fileName, const std::string &content) |
Public Member Functions inherited from CCObject | |
CCObject (void) | |
virtual | ~CCObject (void) |
void | release (void) |
void | retain (void) |
CCObject * | autorelease (void) |
CCObject * | copy (void) |
bool | isSingleReference (void) const |
unsigned int | retainCount (void) const |
virtual bool | isEqual (const CCObject *pObject) |
virtual void | acceptVisitor (CCDataVisitor &visitor) |
virtual void | update (float dt) |
Public Member Functions inherited from CCCopying | |
virtual CCObject * | copyWithZone (CCZone *pZone) |
Static Public Member Functions | |
static ActionTimelineCache * | getInstance () |
Gets the singleton. More... | |
local | getInstance () |
Gets the singleton. More... | |
static void | destroyInstance () |
Destroys the singleton. More... | |
var | destroyInstance () |
Destroys the singleton. More... | |
local | destroyInstance () |
Destroys the singleton. More... | |
Protected Member Functions | |
Timeline * | loadTimeline (const rapidjson::Value &json) |
Frame * | loadVisibleFrame (const rapidjson::Value &json) |
local | loadVisibleFrame ( local json) |
Frame * | loadPositionFrame (const rapidjson::Value &json) |
Frame * | loadScaleFrame (const rapidjson::Value &json) |
Frame * | loadSkewFrame (const rapidjson::Value &json) |
Frame * | loadRotationSkewFrame (const rapidjson::Value &json) |
local | loadRotationSkewFrame ( local json) |
Frame * | loadRotationFrame (const rapidjson::Value &json) |
Frame * | loadAnchorPointFrame (const rapidjson::Value &json) |
Frame * | loadInnerActionFrame (const rapidjson::Value &json) |
Frame * | loadColorFrame (const rapidjson::Value &json) |
Frame * | loadTextureFrame (const rapidjson::Value &json) |
Frame * | loadEventFrame (const rapidjson::Value &json) |
Frame * | loadZOrderFrame (const rapidjson::Value &json) |
Protected Attributes | |
cocos2d::CCDictionary * | _funcs |
cocos2d::CCDictionary * | _timelineActions |
var | _timelineActions |
local | _timelineActions |
Protected Attributes inherited from CCObject | |
unsigned int | m_uReference |
unsigned int | m_uAutoReleaseCount |
Additional Inherited Members | |
Public Attributes inherited from CCObject | |
unsigned int | m_uID |
int | m_nLuaID |
|
virtual |
|
virtual |
|
virtual |
ActionTimeline* createAction | ( | const std::string & | fileName | ) |
Clone a action with the specified name from the container.
var createAction | ( | var | fileName | ) |
Clone a action with the specified name from the container.
local createAction | ( | local | fileName | ) |
Clone a action with the specified name from the container.
|
static |
Destroys the singleton.
|
static |
Destroys the singleton.
|
static |
Destroys the singleton.
|
static |
Gets the singleton.
|
static |
Gets the singleton.
|
static |
Gets the singleton.
void init | ( | ) |
var init | ( | ) |
local init | ( | ) |
|
protected |
|
protected |
|
protected |
ActionTimeline* loadAnimationActionWithContent |
( | const std::string & | fileName, |
const std::string & | content | ||
) |
var loadAnimationActionWithContent | ( | var | fileName, |
var | content | ||
) |
local loadAnimationActionWithContent |
( | local | fileName, |
local | content | ||
) |
ActionTimeline* loadAnimationActionWithFile |
( | const std::string & | fileName | ) |
var loadAnimationActionWithFile | ( | var | fileName | ) |
local loadAnimationActionWithFile | ( | local | fileName | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
void purge | ( | ) |
var purge | ( | ) |
local purge | ( | ) |
void removeAction | ( | const std::string & | fileName | ) |
Remove action with filename, and also remove other resource relate with this file.
var removeAction | ( | var | fileName | ) |
Remove action with filename, and also remove other resource relate with this file.
local removeAction | ( | local | fileName | ) |
Remove action with filename, and also remove other resource relate with this file.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |