Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
HierarchicalPathfinder::RegionID Struct Reference

#include <HierarchicalPathfinder.h>

Public Member Functions

 RegionID (u8 ci, u8 cj, u16 r)
 
bool operator< (const RegionID &b) const
 
bool operator== (const RegionID &b) const
 
u32 DistanceTo (u16 i, u16 j) const
 

Public Attributes

u8 ci
 
u8 cj
 
u16 r
 

Constructor & Destructor Documentation

◆ RegionID()

HierarchicalPathfinder::RegionID::RegionID ( u8  ci,
u8  cj,
u16  r 
)
inline

Member Function Documentation

◆ DistanceTo()

u32 HierarchicalPathfinder::RegionID::DistanceTo ( u16  i,
u16  j 
) const
inline

◆ operator<()

bool HierarchicalPathfinder::RegionID::operator< ( const RegionID b) const
inline

◆ operator==()

bool HierarchicalPathfinder::RegionID::operator== ( const RegionID b) const
inline

Member Data Documentation

◆ ci

u8 HierarchicalPathfinder::RegionID::ci

◆ cj

u8 HierarchicalPathfinder::RegionID::cj

◆ r

u16 HierarchicalPathfinder::RegionID::r

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