static CCColorLayer* node();
static CCLayerGradient* node();
are missing. Only CCLayer has this method.
Its this right?
static CCColorLayer* node();
static CCLayerGradient* node();
are missing. Only CCLayer has this method.
Its this right?
Yep. It can be regarded as a mistake here, thanks for your mention.
I will add this soon
Done. Feature #529
Now you can use the code
CCLayerColor *pLayer = CCLayerColor::node();
pLayer->initWithColor( ccc4(0,0,255,255) );
Thanks for your mention again