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 | Friends | List of all members
t_translation::coordinate Struct Reference

Contains an x and y coordinate used for starting positions in maps. More...

#include <translation.hpp>

Public Member Functions

 coordinate ()
 
 coordinate (const int x_, const int y_)
 

Public Attributes

int x
 
int y
 

Friends

bool operator< (const coordinate &l, const coordinate &r)
 

Detailed Description

Contains an x and y coordinate used for starting positions in maps.

TODO: remove this class and use map_location

Definition at line 97 of file translation.hpp.

Constructor & Destructor Documentation

t_translation::coordinate::coordinate ( )

Definition at line 201 of file translation.cpp.

t_translation::coordinate::coordinate ( const int  x_,
const int  y_ 
)

Definition at line 207 of file translation.cpp.

Friends And Related Function Documentation

bool operator< ( const coordinate l,
const coordinate r 
)
friend

Definition at line 102 of file translation.hpp.

Member Data Documentation

int t_translation::coordinate::x
int t_translation::coordinate::y

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