The Battle for Wesnoth  1.19.0+dev
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>


struct  mark

Public Types

typedef std::map< map_location, markmark_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
int & move_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

◆ mark_map

Definition at line 183 of file pathfind.hpp.

Constructor & Destructor Documentation

◆ marked_route() [1/2]

pathfind::marked_route::marked_route ( )

Definition at line 143 of file pathfind.hpp.

◆ marked_route() [2/2]

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

Definition at line 151 of file pathfind.hpp.

Member Function Documentation

◆ operator=()

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

Member Data Documentation

◆ marks

mark_map pathfind::marked_route::marks

◆ move_cost

int& pathfind::marked_route::move_cost

◆ route

plain_route pathfind::marked_route::route

Definition at line 184 of file pathfind.hpp.

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

◆ steps

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

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