ccGridSize in cocos2d
cocos2d-iphone
Solution
From `cctypes.h`:
typedef struct _ccGridSize
{
NSInteger x;
NSInteger y;
} ccGridSize;
So it's just a couple of ints to state how big every step is of the grid that you are going to animate.
Problem
While using ccWave, one of the parameters was `grid` and it showed that the value should be of type `ccGridSize`. I would like to know what a `ccGridSize` is.. What value should be given for a `ccGridSize` variable? The code for ccWaves is as follows... ``` [CCWaves actionWithWaves:<(int)> amplitude:<(float)> horizontal:<(BOOL)> vertical:<(BOOL)> grid:<(ccGridSize)> duration:<(ccTime)>]; ``` What value can be given in the place of the parameter grid???