BlocksLayer.h 529 B

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