File atlasTile.hpp¶
-
class AtlasTile
- #include <atlasTile.hpp>
Represents a source atlas tile from a TileSet.
Public Functions
-
AtlasTile()
Empty constructor
-
AtlasTile(Texture *texture, Vector2 atlasCoords)
Constructor that takes in a texture and coordinates on the atlas (the tileset)
-
Vector2 getAtlasCoords() const
Get the atlas coordinates
- Returns:
A Vector2 which represents the atlas coordinates
-
AtlasTile()