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

Structure which holds a single route and marks for special events. More...

#include <pathfind.hpp>

Classes

struct  mark
 

Public Types

typedef std::map< map_location,
mark
mark_map
 

Public Member Functions

 marked_route ()
 
 marked_route (const marked_route &rhs)
 
marked_routeoperator= (const marked_route &rhs)
 

Public Attributes

plain_route route
 
std::vector< map_location > & steps
 
intmove_cost
 
mark_map marks
 

Detailed Description

Structure which holds a single route and marks for special events.

Definition at line 141 of file pathfind.hpp.

Member Typedef Documentation

Definition at line 183 of file pathfind.hpp.

Constructor & Destructor Documentation

pathfind::marked_route::marked_route ( )
inline

Definition at line 143 of file pathfind.hpp.

pathfind::marked_route::marked_route ( const marked_route rhs)
inline

Definition at line 151 of file pathfind.hpp.

Member Function Documentation

marked_route& pathfind::marked_route::operator= ( const marked_route rhs)
inline

Member Data Documentation

mark_map pathfind::marked_route::marks
int& pathfind::marked_route::move_cost

Definition at line 188 of file pathfind.hpp.

Referenced by operator=(), and wb::manager::save_temp_move().

plain_route pathfind::marked_route::route

Definition at line 184 of file pathfind.hpp.

Referenced by pathfind::mark_route(), and operator=().

std::vector<map_location>& pathfind::marked_route::steps

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