The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
editor::tile_info Struct Reference

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::t_terrain terrain
 

Detailed Description

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.

Constructor & Destructor Documentation

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 32 of file map_fragment.hpp.

Member Data Documentation

map_location editor::tile_info::offset

Definition at line 37 of file map_fragment.hpp.

t_translation::t_terrain editor::tile_info::terrain

Definition at line 38 of file map_fragment.hpp.


The documentation for this struct was generated from the following file: