Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
PathfinderPassability Class Reference

#include <Pathfinding.h>

Collaboration diagram for PathfinderPassability:

Public Types

enum  ObstructionHandling { NONE , PATHFINDING , FOUNDATION }
 

Public Member Functions

 PathfinderPassability (pass_class_t mask, const CParamNode &node)
 
bool IsPassable (fixed waterdepth, fixed steepness, fixed shoredist) const
 

Public Attributes

pass_class_t m_Mask
 
fixed m_Clearance
 
ObstructionHandling m_Obstructions
 

Private Attributes

fixed m_MinDepth
 
fixed m_MaxDepth
 
fixed m_MaxSlope
 
fixed m_MinShore
 
fixed m_MaxShore
 

Member Enumeration Documentation

◆ ObstructionHandling

Enumerator
NONE 
PATHFINDING 
FOUNDATION 

Constructor & Destructor Documentation

◆ PathfinderPassability()

PathfinderPassability::PathfinderPassability ( pass_class_t  mask,
const CParamNode node 
)

Member Function Documentation

◆ IsPassable()

bool PathfinderPassability::IsPassable ( fixed  waterdepth,
fixed  steepness,
fixed  shoredist 
) const
inline

Member Data Documentation

◆ m_Clearance

fixed PathfinderPassability::m_Clearance

◆ m_Mask

pass_class_t PathfinderPassability::m_Mask

◆ m_MaxDepth

fixed PathfinderPassability::m_MaxDepth
private

◆ m_MaxShore

fixed PathfinderPassability::m_MaxShore
private

◆ m_MaxSlope

fixed PathfinderPassability::m_MaxSlope
private

◆ m_MinDepth

fixed PathfinderPassability::m_MinDepth
private

◆ m_MinShore

fixed PathfinderPassability::m_MinShore
private

◆ m_Obstructions

ObstructionHandling PathfinderPassability::m_Obstructions

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