//
//  BlocksLayer.h
//  RedCore2
//
//  Created by Gabriel Capella on 01/06/17.
//
//

#ifndef BlocksLayer_h
#define BlocksLayer_h

#include "cocos2d.h"

class BlocksLayer : public cocos2d::Node {
    public:
    
    virtual bool init();
    
    // implement the "static create()" method manually
    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 */