BWAPI
Public Member Functions
FirstScoutGoal Class Reference

#include <FirstScoutGoal.h>

Inheritance diagram for FirstScoutGoal:
Inheritance graph
[legend]
Collaboration diagram for FirstScoutGoal:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 FirstScoutGoal (int priority=90)
void achieve ()
void onOffer (std::set< BWAPI::Unit * > objects)
 Controller methods.
virtual std::string getName () const

Constructor & Destructor Documentation

FirstScoutGoal::FirstScoutGoal ( int  priority = 90)

Here is the call graph for this function:


Member Function Documentation

void FirstScoutGoal::achieve ( ) [virtual]

If we have not unit, either we know where they are, or we need to send another scout

They killed our scout before _knowing_ where they are, we will request another scout

Set scoutUnit

TODO change the moves for minerals clicks (mineral walking)

We can see the next waypoint (_nextToVisit)

If we see a ResourceDepot not belonging to us, it's them

Anyway we don't have to visit here again

If we haven't found them, go to the next/nearest start location

Found enemy, harass then

Check if vespene extractor/assimilator/refinery and if not steal (if we have the money), build only one if 2 geysers...

Check if we can manner pylon

Harass units then

Reimplemented from Goal.

Here is the call graph for this function:

std::string FirstScoutGoal::getName ( ) const [virtual]

Reimplemented from Goal.

void FirstScoutGoal::onOffer ( std::set< BWAPI::Unit * >  objects) [virtual]

Controller methods.

Reimplemented from Goal.

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