cocos2d-x
2.2.3-gd2.113-rev1ec524e
|
Base class for other. More...
#include <CCGrid.h>
Public Member Functions | |
virtual | ~CCGridBase (void) |
NA NA. More... | |
bool | isActive (void) |
whether or not the grid is active NA More... | |
void | setActive (bool bActive) |
NA. More... | |
int | getReuseGrid (void) |
number of times that the grid will be reused NA More... | |
void | setReuseGrid (int nReuseGrid) |
NA. More... | |
const CCSize & | getGridSize (void) |
size of the grid NA More... | |
void | setGridSize (const CCSize &gridSize) |
NA. More... | |
const CCPoint & | getStep (void) |
pixels between the grids NA More... | |
void | setStep (const CCPoint &step) |
NA. More... | |
bool | isTextureFlipped (void) |
is texture flipped NA More... | |
void | setTextureFlipped (bool bFlipped) |
NA. More... | |
bool | initWithSize (const CCSize &gridSize, CCTexture2D *pTexture, bool bFlipped) |
NA. More... | |
bool | initWithSize (const CCSize &gridSize) |
NA. More... | |
void | beforeDraw (void) |
NA. More... | |
void | afterDraw (CCNode *pTarget) |
NA. More... | |
virtual void | blit (void) |
NA. More... | |
virtual void | reuse (void) |
NA. More... | |
virtual void | calculateVertexPoints (void) |
NA. More... | |
void | set2DProjection (void) |
NA. More... | |
![]() | |
CCObject (void) | |
virtual | ~CCObject (void) |
NA. More... | |
void | release (void) |
void | retain (void) |
CCObject * | autorelease (void) |
CCObject * | copy (void) |
bool | isSingleReference (void) const |
unsigned int | retainCount (void) const |
virtual bool | isEqual (const CCObject *pObject) |
virtual void | acceptVisitor (CCDataVisitor &visitor) |
virtual void | update (float dt) |
CCObject (const CCObject &) | |
CCObject & | operator= (const CCObject &) |
virtual void | encodeWithCoder (DS_Dictionary *) |
virtual bool | canEncode () |
CCObjectType | getObjType () const |
virtual int | getTag () const |
virtual void | setTag (int nTag) |
void | setObjType (CCObjectType) |
![]() | |
virtual CCObject * | copyWithZone (CCZone *pZone) |
Static Public Member Functions | |
static CCGridBase * | create (const CCSize &gridSize, CCTexture2D *texture, bool flipped) |
create one Grid NA More... | |
static CCGridBase * | create (const CCSize &gridSize) |
create one Grid NA More... | |
![]() | |
static CCObject * | createWithCoder (DS_Dictionary *) |
Protected Attributes | |
bool | m_bActive |
int | m_nReuseGrid |
CCSize | m_sGridSize |
CCTexture2D * | m_pTexture |
CCPoint | m_obStep |
CCGrabber * | m_pGrabber |
bool | m_bIsTextureFlipped |
CCGLProgram * | m_pShaderProgram |
ccDirectorProjection | m_directorProjection |
![]() | |
unsigned int | m_uReference |
unsigned int | m_uAutoReleaseCount |
int | m_nTag |
int | m_eObjType |
unsigned int | m_uObjectIdxInArray |
Additional Inherited Members | |
![]() | |
unsigned int | m_uID |
int | m_nLuaID |
Base class for other.
|
virtual |
NA NA.
void afterDraw | ( | CCNode * | pTarget | ) |
NA.
void beforeDraw | ( | void | ) |
NA.
|
virtual |
NA.
Reimplemented in CCGrid3D, and CCTiledGrid3D.
|
virtual |
NA.
Reimplemented in CCGrid3D, and CCTiledGrid3D.
|
static |
create one Grid NA
|
static |
create one Grid NA
|
inline |
size of the grid NA
|
inline |
number of times that the grid will be reused NA
|
inline |
pixels between the grids NA
bool initWithSize | ( | const CCSize & | gridSize | ) |
NA.
bool initWithSize | ( | const CCSize & | gridSize, |
CCTexture2D * | pTexture, | ||
bool | bFlipped | ||
) |
NA.
|
inline |
whether or not the grid is active NA
|
inline |
is texture flipped NA
|
virtual |
NA.
Reimplemented in CCGrid3D, and CCTiledGrid3D.
void set2DProjection | ( | void | ) |
NA.
void setActive | ( | bool | bActive | ) |
NA.
|
inline |
NA.
|
inline |
NA.
|
inline |
NA.
void setTextureFlipped | ( | bool | bFlipped | ) |
NA.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |