PF_API 0.52
Public Member Functions | Public Attributes

OpenSkyNet::CD::Grid::BinDir Struct Reference

#include <CDGrid.h>

List of all members.

Public Member Functions

 BinDir (const Math::Point< int > &bin_, DIRECTION dir_)
 BinDir (const Math::Point< int > &bin_, DIRECTION dir_)

Public Attributes

const Math::Point< int > * _bin
DIRECTION _dir

Detailed Description

A combination of bin and direction. These two pieces of data define where a bin is at both absolutely and relative to a neighbor bin. Both pieces of data often need to be saved in queues and priority queues that implement pathfinding algorithms.


Constructor & Destructor Documentation

OpenSkyNet::CD::Grid::BinDir::BinDir ( const Math::Point< int > &  bin_,
DIRECTION  dir_ 
) [inline]
OpenSkyNet::CD::Grid::BinDir::BinDir ( const Math::Point< int > &  bin_,
DIRECTION  dir_ 
) [inline]

Member Data Documentation


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines