Platform Data Engine 0.0.1
A data-driven game engine for platformers
|
The tile texture class is responsible for defining a texture and a corrosponding rect inside that texture More...
#include <TileTexture.h>
Public Member Functions | |
TileTexture (const sf::Texture *texture=nullptr, sf::IntRect rect=sf::IntRect()) | |
Constructor | |
const sf::IntRect & | getRect () const |
Gets the rect. More... | |
const sf::Texture * | getTexture () |
Gets the texture. More... | |
The tile texture class is responsible for defining a texture and a corrosponding rect inside that texture
const sf::IntRect & TileTexture::getRect | ( | ) | const |
Gets the rect.
const sf::Texture * TileTexture::getTexture | ( | ) |
Gets the texture.