Animation
This commit is contained in:
@@ -20,17 +20,17 @@ public:
|
||||
RectangleRender( double x, double y, double w, double h,
|
||||
const std::shared_ptr< Renderer > &r,
|
||||
const std::shared_ptr< Texture > &t,
|
||||
SDL_Rect source_rect = { -1, -1, -1, -1 } );
|
||||
const SDL_Rect &source_rect = { -1, -1, -1, -1 } );
|
||||
RectangleRender( double x, double y, double w, double h,
|
||||
const std::shared_ptr< Renderer > &r,
|
||||
const std::string &img_or_color, bool is_polygon = false );
|
||||
RectangleRender( double x, double y, double w, double h,
|
||||
const std::shared_ptr< Renderer > &r,
|
||||
const std::string &img, int source_x,
|
||||
int source_y, int source_width, int source_height );
|
||||
const std::string &img, int source_x, int source_y,
|
||||
int source_width, int source_height );
|
||||
RectangleRender( double x, double y, double w, double h,
|
||||
const std::shared_ptr< Renderer > &r,
|
||||
const std::string &img, SDL_Rect source_rect );
|
||||
const std::string &img, const SDL_Rect &source_rect );
|
||||
virtual void setColor( const std::string &color ) override;
|
||||
virtual void setOutlineColor( const std::string &color ) override;
|
||||
virtual void specialAction( int /*UNUSED*/ ) override {}
|
||||
|
||||
Reference in New Issue
Block a user