SDLPP: add function to change texture while keeping SRC rect
This commit is contained in:
@@ -63,6 +63,7 @@ public:
|
||||
bool hasCollisions() const;
|
||||
const std::vector< std::shared_ptr< CollisionPolygon > > &
|
||||
getCollisions() const;
|
||||
virtual void setTextureKeepSRC( const std::shared_ptr< Texture > &t );
|
||||
virtual void setTexture( const std::shared_ptr< Texture > &t, int source_x,
|
||||
int source_y, int source_width,
|
||||
int source_height );
|
||||
|
||||
Reference in New Issue
Block a user