Trying to switch to more object-oriented
This commit is contained in:
@@ -16,12 +16,17 @@ public:
|
||||
std::shared_ptr< Texture > &t );
|
||||
CircleRender( double x, double y, double rad, std::shared_ptr< Renderer > &r,
|
||||
const std::string &img_or_color, bool is_polygon = false );
|
||||
|
||||
CircleRender( Vec2D<double> center, double rad, std::shared_ptr< Renderer > &r );
|
||||
CircleRender( Vec2D<double> center, double rad, std::shared_ptr< Renderer > &r,
|
||||
std::shared_ptr< Texture > &t );
|
||||
CircleRender( Vec2D<double> center, double rad, std::shared_ptr< Renderer > &r,
|
||||
const std::string &img_or_color, bool is_polygon = false );
|
||||
virtual void setColor( const std::string &color ) override;
|
||||
virtual void setOutlineColor( const std::string &color ) override;
|
||||
virtual void specialAction( int /*UNUSED*/ ) override{}
|
||||
virtual void custom_move( int /*UNUSED*/ ) override{}
|
||||
virtual std::pair< std::pair< double, double >,
|
||||
std::pair< double, double > >
|
||||
virtual std::pair< Vec2D<double>, Vec2D<double> >
|
||||
getDoubleRect() const override;
|
||||
virtual int leftmost() override;
|
||||
virtual int topmost() override;
|
||||
|
||||
Reference in New Issue
Block a user