Class CCCallFunc

#include <Geode/cocos/actions/CCActionInstant.h>
classCCCallFunc:publiccocos2d::CCActionInstant{ ... }

Calls a ‘callback’

Examples0
Public static methods2
staticcocos2d::CCCallFunc*create(
cocos2d::CCObject*pSelectorTarget
,)

creates the action with the callback typedef void (CCObject::*SEL_CallFunc)();

staticcocos2d::CCCallFunc*create(
intnHandler
)

creates the action with the handler script function

Public member functions7
virtualboolinitWithTarget(
cocos2d::CCObject*pSelectorTarget
)

initializes the action with the callback typedef void (CCObject::*SEL_CallFunc)();

virtualvoidexecute()

executes the callback

virtualvoidupdate(
floattime
)

super methods

virtualcocos2d::CCObject*copyWithZone()
No description provided
cocos2d::CCObject*getTargetCallback()
No description provided
voidsetTargetCallback()
No description provided
intgetScriptHandler()
No description provided
Fields0
Protected member functions0
Protected fields2
cocos2d::CCObject*m_pSelectorTarget
;

Target that will be called

intm_nScriptHandler
;
No description provided