25 #ifndef SFML_SPRITE_HPP
26 #define SFML_SPRITE_HPP
31 #include <SFML/Graphics/Export.hpp>
32 #include <SFML/Graphics/Drawable.hpp>
33 #include <SFML/Graphics/Transformable.hpp>
34 #include <SFML/Graphics/Vertex.hpp>
35 #include <SFML/Graphics/Rect.hpp>
99 void setTexture(
const Texture& texture,
bool resetRect =
false);
113 void setTextureRect(
const IntRect& rectangle);
128 void setColor(
const Color& color);
142 const Texture* getTexture()
const;
152 const IntRect& getTextureRect()
const;
162 const Color& getColor()
const;
207 void updatePositions();
213 void updateTexCoords();
226 #endif // SFML_SPRITE_HPP