Class Tile
Defined in File tile.h
Class Documentation
-
class Tile
Public Functions
-
Tile(const std::string &path, int column, int row, int level, const tf2::Vector3 &topLeft, const tf2::Vector3 &topRight, const tf2::Vector3 &bottomLeft, const tf2::Vector3 &bottomRight)
-
~Tile() = default
-
bool Exists()
-
inline bool Failed() const
-
inline bool TextureLoaded() const
-
inline const QImage &Image() const
-
inline int64_t TileID() const
-
inline int Layer() const
-
inline int MemorySize() const
-
inline int Row() const
-
inline int Column() const
-
bool LoadImageToMemory(bool gl = true)
-
void UnloadImage()
-
bool LoadTexture()
-
void UnloadTexture()
-
void Draw()
-
void Transform(const swri_transform_util::Transform &transform)
-
void Transform(const swri_transform_util::Transform &transform, const swri_transform_util::Transform &offset_tf)
-
Tile(const std::string &path, int column, int row, int level, const tf2::Vector3 &topLeft, const tf2::Vector3 &topRight, const tf2::Vector3 &bottomLeft, const tf2::Vector3 &bottomRight)