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