17 #ifndef HEADER_SUPERTUX_EDITOR_TILE_SELECTION_HPP 18 #define HEADER_SUPERTUX_EDITOR_TILE_SELECTION_HPP 31 uint32_t
pos(
int x,
int y);
43 std::vector<uint32_t> m_tiles;
void clear()
Clears the selection.
Definition: tile_selection.cpp:57
Definition: tile_selection.hpp:24
bool empty() const
Returns true when has no tiles or is full of zeros.
Definition: tile_selection.cpp:65
uint32_t pos(int x, int y)
Returns the tile id at specific coordinates.
Definition: tile_selection.cpp:27
void set_tile(uint32_t tile)
Sets the tile selection to a single tile.
Definition: tile_selection.cpp:48