Class CCSpeed

#include <Geode/cocos/actions/CCAction.h>
classCCSpeed:publiccocos2d::CCAction{ ... }

Changes the speed of an action, making it take longer (speed>1) or less (speed<1) time. Useful to simulate ‘slow motion’ or ‘fast forward’ effect.

⚠️ This action can't be Sequenceable because it is not an CCIntervalAction

Examples0
Public static methods1
staticcocos2d::CCSpeed*create(,
floatfSpeed
)

create the action

Public member functions11
floatgetSpeed()
No description provided
voidsetSpeed(
floatfSpeed
)

alter the speed of the inner function in runtime

boolinitWithAction(,
floatfSpeed
)

initializes the action

virtualcocos2d::CCObject*copyWithZone()
No description provided
virtualvoidstartWithTarget()
No description provided
virtualvoidstop()
No description provided
virtualvoidstep()
No description provided
virtualboolisDone()
No description provided
virtualcocos2d::CCActionInterval*reverse()
No description provided
voidsetInnerAction()
No description provided
cocos2d::CCActionInterval*getInnerAction()
No description provided
Fields0
Protected member functions0
Protected fields2
floatm_fSpeed
;
No description provided
;
No description provided