The Battle for Wesnoth  1.15.2+dev
Public Member Functions | Public Attributes | List of all members
pathfind::plain_route Struct Reference

Structure which holds a single route between one location and another. More...

#include <pathfind.hpp>

Public Member Functions

 plain_route ()
 

Public Attributes

std::vector< map_locationsteps
 
int move_cost
 Movement cost for reaching the end of the route. More...
 

Detailed Description

Structure which holds a single route between one location and another.

Definition at line 131 of file pathfind.hpp.

Constructor & Destructor Documentation

◆ plain_route()

pathfind::plain_route::plain_route ( )
inline

Definition at line 133 of file pathfind.hpp.

Member Data Documentation

◆ move_cost

int pathfind::plain_route::move_cost

◆ steps

std::vector<map_location> pathfind::plain_route::steps

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