// // BlocksLayer.h // RedCore // #ifndef BlocksLayer_h #define BlocksLayer_h #include "cocos2d.h" class BlocksLayer : public cocos2d::Node { public: virtual bool init(); void setLevel(int level); CREATE_FUNC(BlocksLayer); private: Node* createCircle (double size, int number, int number_of_segments, double p); Node* createSegment (double r_internal, double r_externa, double begin, double end, bool especial); }; #endif /* BlocksLayer_h */