cocos2d-iphone  1.0.1
Improved Cocos2D API Reference (iOS version) for Kobold2D developers
CCGridBase Interface Reference

#include <CCGrid.h>

Inheritance diagram for CCGridBase:
Collaboration diagram for CCGridBase:

List of all members.

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_
CCTexture2Dtexture_
CGPoint step_
CCGrabbergrabber_
BOOL isTextureFlipped_

Properties

BOOL active
int reuseGrid
ccGridSize gridSize
CGPoint step
CCTexture2Dtexture
CCGrabbergrabber
BOOL isTextureFlipped

Detailed Description

Base class for other


Property Documentation

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


The documentation for this interface was generated from the following file: