le2d v0.4.3
2D game engine framework
 
Loading...
Searching...
No Matches
tile.hpp
Go to the documentation of this file.
1#pragma once
2#include <kvf/rect.hpp>
4
5namespace le {
7struct Tile {
9 TileId id{};
11 kvf::UvRect uv{kvf::uv_rect_v};
12};
13} // namespace le
Definition animation.hpp:8
TileId
Unique identifier for a Tile.
Definition tile_id.hpp:6
Tile in a sprite sheet.
Definition tile.hpp:7
kvf::UvRect uv
UV coordinates.
Definition tile.hpp:11