Tactics: Western Philosophers Vs. Musicians  0.12
A turn-based tactical game combining rules and gameplay elements inspired by Final Fantasy Tactics and the Mayfair Exponential Game System. Unlike most games of this type, motion is in full, grid-less 3D.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
OpenSkyNet::PF::DirOrPath Struct Reference

#include <PFAStar.h>

Public Member Functions

 DirOrPath ()
 
 DirOrPath (CD::DIRECTION dir_)
 
 DirOrPath (const Math::Path &path_)
 

Public Attributes

bool _isDir
 
CD::DIRECTION _dir
 
Math::Path _path
 

Detailed Description

Stores a DIRECTION and Path, but only uses one at a time. This structure can not be a union because a Path has a dynamic size.

Constructor & Destructor Documentation

OpenSkyNet::PF::DirOrPath::DirOrPath ( )
inline
OpenSkyNet::PF::DirOrPath::DirOrPath ( CD::DIRECTION  dir_)
inline
OpenSkyNet::PF::DirOrPath::DirOrPath ( const Math::Path path_)
inline

Member Data Documentation

CD::DIRECTION OpenSkyNet::PF::DirOrPath::_dir
bool OpenSkyNet::PF::DirOrPath::_isDir
Math::Path OpenSkyNet::PF::DirOrPath::_path

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