Base class for CCTiledGrid3D actions
Class CCTiledGrid3DAction
#include <Geode/cocos/actions/CCActionGrid.h>
classCCTiledGrid3DAction:publiccocos2d::CCGridAction{ ... }
Examples0
Public static methods1
staticcocos2d::CCTiledGrid3DAction*create(floatduration,cocos2d::CCSizeconst&gridSize)
creates the action with size and duration
Public member functions4
cocos2d::ccQuad3tile(cocos2d::CCPointconst&position)
returns the tile that belongs to a certain position of the grid
cocos2d::ccQuad3originalTile(cocos2d::CCPointconst&position)
returns the non-transformed tile that belongs to a certain position of the grid
voidsetTile(cocos2d::CCPointconst&position,cocos2d::ccQuad3const&coords)
sets a new tile to a certain position of the grid
virtualcocos2d::CCGridBase*getGrid()
returns the grid