This represents a tile along with information about it, namely the terrain, possibly other information. More...
#include <map_fragment.hpp>
Public Member Functions | |
| tile_info (const gamemap &map, const map_location &offset) | |
| Create a tile info – the constructor grabs required data from the map. More... | |
Public Attributes | |
| map_location | offset |
| t_translation::terrain_code | terrain |
This represents a tile along with information about it, namely the terrain, possibly other information.
It is a less compact representation that what is used in the map, but is more convenient in some situations.
Definition at line 27 of file map_fragment.hpp.
|
inline |
Create a tile info – the constructor grabs required data from the map.
Definition at line 32 of file map_fragment.hpp.
| map_location editor::tile_info::offset |
Definition at line 37 of file map_fragment.hpp.
| t_translation::terrain_code editor::tile_info::terrain |
Definition at line 38 of file map_fragment.hpp.