Overrides the target of an action so that it always runs on the target specified at action creation rather than the one specified by runAction.
Class CCTargetedAction
#include <Geode/cocos/actions/CCActionInterval.h>
classCCTargetedAction:publiccocos2d::CCActionInterval{ ... }
Examples0
Public static methods1
staticcocos2d::CCTargetedAction*create(cocos2d::CCNode*pTarget,cocos2d::CCFiniteTimeAction*pAction)
Create an action with the specified action and forced target
Public member functions7
boolinitWithTarget(cocos2d::CCNode*pTarget,cocos2d::CCFiniteTimeAction*pAction)
Init an action with the specified action and forced target
virtualcocos2d::CCObject*copyWithZone(cocos2d::CCZone*pZone)
No description provided
virtualvoidstartWithTarget(cocos2d::CCNode*pTarget)
No description provided
virtualvoidstop()
No description provided
virtualcocos2d::CCNode*getForcedTarget()const
This is the target that the action will be forced to run with
virtualvoidsetForcedTarget()
This is the target that the action will be forced to run with
Fields1
cocos2d::CCFiniteTimeAction*m_pAction;
No description provided