BlocksLayer.h 478 B

1234567891011121314151617181920212223
  1. //
  2. // BlocksLayer.h
  3. // RedCore
  4. //
  5. #ifndef BlocksLayer_h
  6. #define BlocksLayer_h
  7. #include "cocos2d.h"
  8. class BlocksLayer : public cocos2d::Node {
  9. public:
  10. virtual bool init();
  11. void setLevel(int level);
  12. CREATE_FUNC(BlocksLayer);
  13. private:
  14. Node* createCircle (double size, int number, int number_of_segments, double p);
  15. Node* createSegment (double r_internal, double r_externa, double begin, double end, bool especial);
  16. };
  17. #endif /* BlocksLayer_h */