Calls a ‘callback’ with an object as the first argument. O means Object.
Class CCCallFuncO
#include <Geode/cocos/actions/CCActionInstant.h>
classCCCallFuncO:publiccocos2d::CCCallFunc,publiccocos2d::TypeInfo{ ... }
Examples0
Public static methods1
staticcocos2d::CCCallFuncO*create(cocos2d::CCObject*pSelectorTarget,cocos2d::SEL_CallFuncOselector,cocos2d::CCObject*pObject)
creates the action with the callback typedef void (CCObject::SEL_CallFuncO)(CCObject);
Public member functions6
virtuallonggetClassTypeInfo()
No description provided
virtualboolinitWithTarget(cocos2d::CCObject*pSelectorTarget,cocos2d::SEL_CallFuncOselector,cocos2d::CCObject*pObject)
initializes the action with the callback typedef void (CCObject::SEL_CallFuncO)(CCObject);
virtualcocos2d::CCObject*copyWithZone(cocos2d::CCZone*pZone)
No description provided
virtualvoidexecute()
No description provided
cocos2d::CCObject*getObject()
No description provided
voidsetObject()
No description provided
Fields1
cocos2d::CCObject*m_pObject;
object to be passed as argument