CCJumpTiles3D action. A sin function is executed to move the tiles across the Z axis
Class CCJumpTiles3D
#include <Geode/cocos/actions/CCActionTiledGrid.h>
classCCJumpTiles3D:publiccocos2d::CCTiledGrid3DAction{ ... }
Examples0
Public static methods1
staticcocos2d::CCJumpTiles3D*create(floatduration,cocos2d::CCSizeconst&gridSize,uintnumberOfJumps,floatamplitude)
creates the action with the number of jumps, the sin amplitude, the grid size and the duration
Public member functions7
floatgetAmplitude()
amplitude of the sin
floatgetAmplitudeRate()
amplitude rate
boolinitWithDuration(floatduration,cocos2d::CCSizeconst&gridSize,uintnumberOfJumps,floatamplitude)
initializes the action with the number of jumps, the sin amplitude, the grid size and the duration
virtualcocos2d::CCObject*copyWithZone(cocos2d::CCZone*pZone)
No description provided