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) |
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.
t_translation::coordinate::coordinate | ( | ) |
Definition at line 201 of file translation.cpp.
Definition at line 207 of file translation.cpp.
|
friend |
Definition at line 102 of file translation.hpp.
int t_translation::coordinate::x |
Definition at line 100 of file translation.hpp.
Referenced by output_map(), t_translation::read_game_map(), editor::editor_map::resize(), and t_translation::write_game_map().
int t_translation::coordinate::y |
Definition at line 101 of file translation.hpp.
Referenced by output_map(), t_translation::read_game_map(), editor::editor_map::resize(), and t_translation::write_game_map().