The Battle for Wesnoth  1.19.5+dev
Public Member Functions | List of all members
pathfind::paths::dest_vect Struct Reference

Ordered vector of possible destinations. More...

#include <pathfind.hpp>

Inheritance diagram for pathfind::paths::dest_vect:

Public Member Functions

const_iterator find (const map_location &) const
 
bool contains (const map_location &) const
 
void insert (const map_location &)
 
std::vector< map_locationget_path (const const_iterator &) const
 Returns the path going from the source point (included) to the destination point j (excluded). More...
 

Detailed Description

Ordered vector of possible destinations.

Definition at line 94 of file pathfind.hpp.

Member Function Documentation

◆ contains()

bool pathfind::paths::dest_vect::contains ( const map_location loc) const

◆ find()

paths::dest_vect::const_iterator pathfind::paths::dest_vect::find ( const map_location loc) const

◆ get_path()

std::vector< map_location > pathfind::paths::dest_vect::get_path ( const const_iterator &  j) const

Returns the path going from the source point (included) to the destination point j (excluded).

Definition at line 497 of file pathfind.cpp.

References i, and game_config::path.

Referenced by game_display::highlight_another_reach().

◆ insert()

void pathfind::paths::dest_vect::insert ( const map_location loc)

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