Public Member Functions | Public Attributes

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>

Collaboration diagram for editor::tile_info:
Collaboration graph
[legend]

List of all members.

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

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


Member Data Documentation

Definition at line 39 of file map_fragment.hpp.

Referenced by editor::map_fragment::paste_into().


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:18:37 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs