Unsigned 8 bit coordinates for tiles withing a page of a tilemap.
#include <srl_tilemap.hpp>
Public Member Functions | |
Coord () | |
Initializes a new tile coordinate. | |
Coord (uint16_t x, uint16_t y) | |
Initialize with desired X and Y coordinates. | |
Public Attributes | |
uint16_t | X |
The tiles X coordinate in its page. | |
uint16_t | Y |
The tiles Y coordinate in its page. | |