![]() |
BTHAI 2.0
|
#include <ProtossCommander.h>
Public Member Functions | |
ProtossCommander () | |
~ProtossCommander () | |
void | computeActions () |
void | handleCloakedEnemy (TilePosition pos, Squad *squad) |
void | addDarkTemplarSquad () |
void | addHarassSquad () |
void | addHighTemplarSquad () |
void | addMainAirSquad () |
void | addCarrierSquad () |
This is the Protoss implementation of the Commander class. See Commander for more info.
This is where you need to modify the overall strategy for Protoss, which squads to construct, and when and where to engage the enemy.
Author: Johan Hagelback (johan.hagelback@gmail.com)
ProtossCommander::ProtossCommander | ( | ) |
Constructor
ProtossCommander::~ProtossCommander | ( | ) |
Destructor
void ProtossCommander::computeActions | ( | ) | [virtual] |
Called each update to issue orders.
Reimplemented from Commander.
void ProtossCommander::handleCloakedEnemy | ( | TilePosition | pos, |
Squad * | squad | ||
) | [virtual] |
Called when own units are attacked by a cloaked enemy unit.
Reimplemented from Commander.