IMP.bff
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
PathMapTileEdge Class Reference

#include <PathMapTileEdge.h>

Collaboration diagram for PathMapTileEdge:
Collaboration graph

Public Member Functions

float get_length () const
 the path length / cost of going to the tile
 
 PathMapTileEdge (int edge_target=-1, float edge_cost=std::numeric_limits< float >::max())
 

Protected Attributes

int tile_idx
 
float length
 The tile the edge is pointing to.
 

Constructor & Destructor Documentation

◆ PathMapTileEdge()

PathMapTileEdge::PathMapTileEdge ( int  edge_target = -1,
float  edge_cost = std::numeric_limits<float>::max() 
)
inline
Parameters
edge_target
edge_cost

Member Function Documentation

◆ get_length()

float PathMapTileEdge::get_length ( ) const
inline

the path length / cost of going to the tile

Length of an edge (usually cartesian distance between tiles)

Member Data Documentation

◆ length

float PathMapTileEdge::length
protected

The tile the edge is pointing to.

◆ tile_idx

int PathMapTileEdge::tile_idx
protected

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