#include <TTL_tiles.h>
Public Member Functions | |
TTL_tile () | |
Create an empty tile. Empty means it has all dimensions set to zero. | |
bool | empty () const |
Check if the tile passed is empty. | |
Data Fields | |
TTL_shape | shape |
TTL_offset | offset |
Definition at line 88 of file TTL_cpp/TTL_tiles.h.
|
inline |
Create an empty tile. Empty means it has all dimensions set to zero.
Most operations on an empty tile should turn into no-ops and so an empty tile is the safest default state.
Definition at line 95 of file TTL_cpp/TTL_tiles.h.
|
inline |
Check if the tile passed is empty.
Empty is defined as width of the shape being equal to 0.
tile | The tile to check the emptiness of. |
Definition at line 107 of file TTL_cpp/TTL_tiles.h.
TTL_offset TTL_tile::offset |
Definition at line 112 of file TTL_cpp/TTL_tiles.h.
TTL_shape TTL_tile::shape |
Definition at line 111 of file TTL_cpp/TTL_tiles.h.