OpenXcom  1.0
Open-source clone of the original X-Com
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
OpenXcom::MinNodeCosts Class Reference

Compares PathfindingNode pointers based on TU cost. More...

#include <PathfindingNode.h>

Public Member Functions

bool operator() (const PathfindingNode *a, const PathfindingNode *b) const
 Compares nodes *a and *b. More...
 

Detailed Description

Compares PathfindingNode pointers based on TU cost.

Member Function Documentation

bool OpenXcom::MinNodeCosts::operator() ( const PathfindingNode a,
const PathfindingNode b 
) const
inline

Compares nodes *a and *b.

Parameters
aPointer to first node.
bPointer to second node.
Returns
True if node *a must come before *b.

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