2011-06-14 14:31:25 +08:00
|
|
|
|
2011-11-09 23:23:47 +08:00
|
|
|
class CCActionInstant : public CCFiniteTimeAction
|
|
|
|
{
|
|
|
|
};
|
|
|
|
|
|
|
|
class CCShow : public CCActionInstant
|
|
|
|
{
|
|
|
|
static CCShow * action();
|
|
|
|
};
|
|
|
|
|
|
|
|
class CCHide : public CCActionInstant
|
|
|
|
{
|
|
|
|
static CCHide * action();
|
|
|
|
};
|
|
|
|
|
|
|
|
class CCToggleVisibility : public CCActionInstant
|
|
|
|
{
|
|
|
|
static CCToggleVisibility * action();
|
|
|
|
};
|
|
|
|
|
|
|
|
class CCFlipX : public CCActionInstant
|
|
|
|
{
|
|
|
|
static CCFlipX * actionWithFlipX(bool x);
|
|
|
|
};
|
|
|
|
|
|
|
|
class CCFlipY : public CCActionInstant
|
|
|
|
{
|
|
|
|
static CCFlipY * actionWithFlipY(bool y);
|
|
|
|
};
|
|
|
|
|
|
|
|
class CCPlace : public CCActionInstant //<NSCopying>
|
|
|
|
{
|
|
|
|
static CCPlace * actionWithPosition(CCPoint pos);
|
|
|
|
};
|
|
|
|
|
|
|
|
class CCCallFunc : public CCActionInstant //<NSCopying>
|
|
|
|
{
|
|
|
|
void execute();
|
|
|
|
|
|
|
|
static CCCallFunc* actionWithTarget(SelectorProtocol* pSelectorTarget, SEL_CallFunc selector);
|
|
|
|
static CCCallFunc* actionWithScriptFuncName(const char* pszFuncName);
|
|
|
|
};
|
|
|
|
|
|
|
|
class CCCallFuncN : public CCCallFunc
|
|
|
|
{
|
|
|
|
static CCCallFuncN* actionWithTarget(SelectorProtocol* pSelectorTarget, SEL_CallFuncN selector);
|
|
|
|
static CCCallFuncN* actionWithScriptFuncName(const char* pszFuncName);
|
|
|
|
};
|
|
|
|
|
|
|
|
class CCCallFuncND : public CCCallFuncN
|
|
|
|
{
|
|
|
|
static CCCallFuncND* actionWithTarget(SelectorProtocol* pSelectorTarget, SEL_CallFuncND selector, void* d);
|
|
|
|
static CCCallFuncND* actionWithScriptFuncName(const char* pszFuncName, void *d);
|
|
|
|
};
|
|
|
|
|
|
|
|
class CCCallFuncO : public CCCallFunc
|
|
|
|
{
|
|
|
|
static CCCallFuncO* actionWithTarget(SelectorProtocol* pSelectorTarget, SEL_CallFuncO selector, CCObject* pObject);
|
|
|
|
static CCCallFuncO* actionWithScriptFuncName(const char* pszFuncName);
|
|
|
|
};
|