|
BWAPI
|
#include <FirstScoutGoal.h>


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

| 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.

| std::string FirstScoutGoal::getName | ( | ) | const [virtual] |
Reimplemented from Goal.
| void FirstScoutGoal::onOffer | ( | std::set< BWAPI::Unit * > | objects | ) | [virtual] |
1.7.6.1