BWAPI
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
BWAPI::Position Class Reference

#include <Position.h>

List of all members.

Public Member Functions

 Position ()
 Position (const TilePosition &position)
 Position (int x, int y)
bool operator== (const Position &position) const
bool operator!= (const Position &position) const
bool operator< (const Position &position) const
 operator bool () const
bool isValid () const
Position operator+ (const Position &position) const
Position operator- (const Position &position) const
PositionmakeValid ()
Positionoperator+= (const Position &position)
Positionoperator-= (const Position &position)
double getDistance (const Position &position) const
int getApproxDistance (const Position &position) const
double getLength () const
bool hasPath (const Position &destination) const
intx ()
inty ()
int x () const
int y () const

Constructor & Destructor Documentation

Here is the caller graph for this function:

BWAPI::Position::Position ( const TilePosition position) [explicit]

Member Function Documentation

int BWAPI::Position::getApproxDistance ( const Position position) const

Here is the call graph for this function:

Here is the caller graph for this function:

double BWAPI::Position::getDistance ( const Position position) const

Here is the caller graph for this function:

double BWAPI::Position::getLength ( ) const

Here is the call graph for this function:

bool BWAPI::Position::hasPath ( const Position destination) const

Here is the call graph for this function:

bool BWAPI::Position::isValid ( ) const

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

BWAPI::Position::operator bool ( ) const

Here is the call graph for this function:

bool BWAPI::Position::operator!= ( const Position position) const

Here is the call graph for this function:

Position BWAPI::Position::operator+ ( const Position position) const

Here is the call graph for this function:

Position & BWAPI::Position::operator+= ( const Position position)

Here is the call graph for this function:

Position BWAPI::Position::operator- ( const Position position) const

Here is the call graph for this function:

Position & BWAPI::Position::operator-= ( const Position position)

Here is the call graph for this function:

bool BWAPI::Position::operator< ( const Position position) const

Here is the call graph for this function:

bool BWAPI::Position::operator== ( const Position position) const

Here is the call graph for this function:


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