Class CCTwirl

#include <Geode/cocos/actions/CCActionGrid3D.h>
classCCTwirl:publiccocos2d::CCGrid3DAction{ ... }

CCTwirl action

Examples0
Public static methods1
staticcocos2d::CCTwirl*create(
floatduration
,,,
uinttwirls
,
floatamplitude
)

creates the action with center position, number of twirls, amplitude, a grid size and duration

Public member functions9
cocos2d::CCPointconst&getPosition()

get twirl center

voidsetPosition()

set twirl center

floatgetAmplitude()
No description provided
voidsetAmplitude(
floatfAmplitude
)
No description provided
floatgetAmplitudeRate()
No description provided
voidsetAmplitudeRate(
floatfAmplitudeRate
)
No description provided
boolinitWithDuration(
floatduration
,,,
uinttwirls
,
floatamplitude
)

initializes the action with center position, number of twirls, amplitude, a grid size and duration

virtualcocos2d::CCObject*copyWithZone()
No description provided
virtualvoidupdate(
floattime
)
No description provided
Fields0
Protected member functions0
Protected fields4
;
No description provided
uintm_nTwirls
;
No description provided
floatm_fAmplitude
;
No description provided
floatm_fAmplitudeRate
;
No description provided