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. | |
Public Attributes | |
| map_location | offset |
| t_translation::t_terrain | 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 28 of file map_fragment.hpp.
| editor::tile_info::tile_info | ( | const gamemap & | map, | |
| const map_location & | offset | |||
| ) | [inline] |
Create a tile info -- the constructor grabs required data from the map.
Definition at line 33 of file map_fragment.hpp.
Definition at line 38 of file map_fragment.hpp.
Referenced by editor::map_fragment::center_by_mass(), editor::map_fragment::center_of_mass(), editor::map_fragment::dump(), editor::map_fragment::flip_horizontal(), editor::map_fragment::flip_vertical(), editor::map_fragment::get_offset_area(), editor::map_fragment::paste_into(), editor::map_fragment::rotate_60_ccw(), editor::map_fragment::rotate_60_cw(), and editor::map_fragment::shift().
Definition at line 39 of file map_fragment.hpp.
Referenced by editor::map_fragment::paste_into().
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:18:37 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |