R-Type
|
Class representing a texture wrapper for sf::Texture with an associated area. More...
#include <SfmlTypes.hpp>
Public Member Functions | |
Texture ()=default | |
Default constructor for Texture. More... | |
~Texture ()=default | |
Destructor for Texture. More... | |
const sf::Texture & | getTexture () const override |
Returns the wrapped sf::Texture. More... | |
void | load (const std::string &filename, const IRect< int, sf::Rect > &area) override |
Loads a texture from a file with a specified area. More... | |
![]() | |
~ITexture ()=default | |
Destructor. More... | |
Class representing a texture wrapper for sf::Texture with an associated area.
|
default |
Default constructor for Texture.
|
default |
Destructor for Texture.
|
inlineoverridevirtual |
Returns the wrapped sf::Texture.
Implements GameEngine::ITexture< sf::Texture, sf::Rect >.
|
inlineoverridevirtual |
Loads a texture from a file with a specified area.
filename | The path to the texture file |
area | The area of the texture to load |
Implements GameEngine::ITexture< sf::Texture, sf::Rect >.