![]() |
BTHAI 2.0
|
#include <TerranBuildPlanner.h>
Public Member Functions | |
void | init () |
void | computeActions () |
void | buildingDestroyed (Unit *building) |
void | handleNoBuildspotFound (UnitType toBuild) |
void | printInfo () |
This is the Terran implementation of the BuildPlanner class. See BuildPlanner for more details.
This is where you need to modify the code to use different buildorders.
Author: Johan Hagelback (johan.hagelback@gmail.com)
void TerranBuildPlanner::buildingDestroyed | ( | Unit * | building | ) | [virtual] |
Notifies that an own building has been destroyed.
Reimplemented from BuildPlanner.
void TerranBuildPlanner::computeActions | ( | ) | [virtual] |
Called each update to issue orders.
Reimplemented from BuildPlanner.
void TerranBuildPlanner::handleNoBuildspotFound | ( | UnitType | toBuild | ) | [virtual] |
Is called when no buildspot has been found for the specified type.
Reimplemented from BuildPlanner.
void TerranBuildPlanner::init | ( | ) | [virtual] |
Initial setup of the build order.
Reimplemented from BuildPlanner.
void TerranBuildPlanner::printInfo | ( | ) | [virtual] |
Used to print some info to the screen.
Reimplemented from BuildPlanner.