BWAPI
Public Member Functions | Public Attributes
BorderPosition Class Reference

#include <BorderPosition.h>

Collaboration diagram for BorderPosition:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 BorderPosition ()
 BorderPosition (PositionType type, Chokepoint choke)
 BorderPosition (Position position, int size)
 BorderPosition (Base base)
 BorderPosition (PositionType type, Region region)
bool operator== (const BorderPosition &other) const
bool operator< (const BorderPosition &other) const

Public Attributes

PositionType mType
Chokepoint mChoke
Position mPosition
int mPositionSize
Base mBase
Region mRegion

Detailed Description

Definition at line 30 of file BorderPosition.h.


Constructor & Destructor Documentation

Definition at line 13 of file BorderPosition.cpp.

        : mType(type)
        , mChoke(choke)
        , mPosition(BWAPI::Positions::None)
        , mPositionSize(0)
        , mBase()
        , mRegion()
{
}
BorderPosition::BorderPosition ( Position  position,
int  size 
)

Definition at line 23 of file BorderPosition.cpp.

        : mType(PositionType::Position)
        , mChoke()
        , mPosition(position)
        , mPositionSize(size)
        , mBase()
        , mRegion()
{
}

Definition at line 43 of file BorderPosition.cpp.

        : mType(type)
        , mChoke()
        , mPosition(BWAPI::Positions::None)
        , mPositionSize(0)
        , mBase()
        , mRegion(region)
{
}

Member Function Documentation

bool BorderPosition::operator< ( const BorderPosition other) const
bool BorderPosition::operator== ( const BorderPosition other) const

Member Data Documentation

Definition at line 49 of file BorderPosition.h.

Referenced by operator<(), and operator==().

Definition at line 44 of file BorderPosition.h.

Referenced by getLargestChoke(), operator<(), operator==(), and DefaultSquadTask::update().

Definition at line 46 of file BorderPosition.h.

Referenced by operator<(), and operator==().

Definition at line 47 of file BorderPosition.h.

Definition at line 51 of file BorderPosition.h.

Referenced by operator<(), and operator==().

Definition at line 42 of file BorderPosition.h.

Referenced by operator<(), and operator==().


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