Grid3D Class Reference

#import <Grid.h>

Inherits GridBase.

Collaboration diagram for Grid3D:

Collaboration graph
[legend]

List of all members.

Public Member Functions

(id) - initWithSize:
(ccVertex3D- vertex:
(ccVertex3D- originalVertex:
(void) - setVertex:vertex:

Static Public Member Functions

(id) + gridWithSize:


Detailed Description

Grid3D is a 3D grid implementation. Each vertex has 3 dimensions: x,y,z

Member Function Documentation

+ (id) gridWithSize: (ccGridSize gridSize  

creates a Grid3D (non-tiled) grid with a grid size

- (id) initWithSize: (ccGridSize gridSize  

initizlies a Grid3D (non-tiled) grid with a grid size

Implements GridBase.

- (ccVertex3D) originalVertex: (ccGridSize pos  

returns the original (non-transformed) vertex at a given position

- (void) setVertex: (ccGridSize pos
vertex: (ccVertex3D vertex 

sets a new vertex at a given position

- (ccVertex3D) vertex: (ccGridSize pos  

returns the vertex at a given position


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

Generated on Tue Jun 9 10:39:37 2009 for cocos2d for iPhone 0.7.3 by  doxygen 1.5.8