Class CCTargetedAction

#include <Geode/cocos/actions/CCActionInterval.h>
classCCTargetedAction:publiccocos2d::CCActionInterval{ ... }

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.

Examples0
Public static methods1
staticcocos2d::CCTargetedAction*create(,)

Create an action with the specified action and forced target

Public member functions7
boolinitWithTarget(,)

Init an action with the specified action and forced target

virtualcocos2d::CCObject*copyWithZone()
No description provided
virtualvoidstartWithTarget()
No description provided
virtualvoidstop()
No description provided
virtualvoidupdate(
floattime
)
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

Fields0
Protected member functions0
Protected fields0