BTHAI 2.0
Public Member Functions
TerranBuildPlanner Class Reference

#include <TerranBuildPlanner.h>

Inheritance diagram for TerranBuildPlanner:
BuildPlanner

List of all members.

Public Member Functions

void init ()
void computeActions ()
void buildingDestroyed (Unit *building)
void handleNoBuildspotFound (UnitType toBuild)
void printInfo ()

Detailed Description

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)


Member Function Documentation

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.


The documentation for this class was generated from the following files:
 All Classes Functions Variables