|
cocos2d-iphone
1.0.1
Improved Cocos2D API Reference (iOS version) for Kobold2D developers
|
#include <CCGrid.h>
Public Member Functions | |
| id | initWithSize:texture:flippedTexture: (ccGridSize gridSize,[texture] CCTexture2D *texture,[flippedTexture] BOOL flipped) |
| id | initWithSize: (ccGridSize gridSize) |
| void | beforeDraw () |
| void | afterDraw: (CCNode *target) |
| void | blit () |
| void | reuse () |
| void | calculateVertexPoints () |
Static Public Member Functions | |
| id | gridWithSize:texture:flippedTexture: (ccGridSize gridSize,[texture] CCTexture2D *texture,[flippedTexture] BOOL flipped) |
| id | gridWithSize: (ccGridSize gridSize) |
Protected Attributes | |
| BOOL | active_ |
| int | reuseGrid_ |
| ccGridSize | gridSize_ |
| CCTexture2D * | texture_ |
| CGPoint | step_ |
| CCGrabber * | grabber_ |
| BOOL | isTextureFlipped_ |
Properties | |
| BOOL | active |
| int | reuseGrid |
| ccGridSize | gridSize |
| CGPoint | step |
| CCTexture2D * | texture |
| CCGrabber * | grabber |
| BOOL | isTextureFlipped |
Base class for other
BOOL CCGridBase::active [read, write, assign] |
wheter or not the grid is active
CCGrabber* CCGridBase::grabber [read, write, retain] |
grabber used
ccGridSize CCGridBase::gridSize [read, assign] |
size of the grid
BOOL CCGridBase::isTextureFlipped [read, write, assign] |
is texture flipped
int CCGridBase::reuseGrid [read, write, assign] |
number of times that the grid will be reused
CGPoint CCGridBase::step [read, write, assign] |
pixels between the grids
CCTexture2D* CCGridBase::texture [read, write, retain] |
texture used