SDLPP: Allow changing coliders' position
Requires `updateSizeAndPosition` to be run on the parent container
This commit is contained in:
@@ -30,6 +30,8 @@ public:
|
||||
const SDL_Color &outline_color ) = 0;
|
||||
virtual void render( Renderer &renderer, const SDL_Color &color ) = 0;
|
||||
virtual void render( Renderer &renderer ) = 0;
|
||||
void setPos(const Vec2D<double> &pos);
|
||||
void setPos(double x, double y);
|
||||
int getX() const;
|
||||
int getY() const;
|
||||
void setColor( const std::string &color );
|
||||
|
||||
Reference in New Issue
Block a user