Emergency 20 Dokumentation  4.1.0
Enumerations | Functions | Variables
qsf::ai::direction Namespace Reference

Enumerations

enum  OneDimensional { ANY, FORWARD, BACKWARD, BOTH }
 
enum  TwoDimensional {
  NORTH, NORTH_EAST, EAST, SOUTH_EAST,
  SOUTH, SOUTH_WEST, WEST, NORTH_WEST
}
 

Functions

QSF_AI_API_EXPORT unsigned int getDistance (TwoDimensional dirA, TwoDimensional dirB)
 
bool isFourConnected (TwoDimensional dir)
 

Variables

const unsigned int NUM_ONE_DIRECTIONAL_OPTIONS = BOTH + 1
 
const unsigned int NUM_TWO_DIRECTIONAL_OPTIONS = NORTH_WEST + 1
 

Enumeration Type Documentation

Enumerator
ANY 
FORWARD 
BACKWARD 
BOTH 
Enumerator
NORTH 
NORTH_EAST 
EAST 
SOUTH_EAST 
SOUTH 
SOUTH_WEST 
WEST 
NORTH_WEST 

Function Documentation

QSF_AI_API_EXPORT unsigned int qsf::ai::direction::getDistance ( TwoDimensional  dirA,
TwoDimensional  dirB 
)
bool qsf::ai::direction::isFourConnected ( TwoDimensional  dir)

Variable Documentation

const unsigned int qsf::ai::direction::NUM_ONE_DIRECTIONAL_OPTIONS = BOTH + 1
const unsigned int qsf::ai::direction::NUM_TWO_DIRECTIONAL_OPTIONS = NORTH_WEST + 1