BWAPI
Public Member Functions | Public Attributes | Friends
Macro Class Reference

#include <Macro.h>

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

List of all members.

Public Member Functions

void buildOrderAdd (BWAPI::UnitType type)
void techAdd (BWAPI::TechType type)
void upgradeAdd (BWAPI::UpgradeType type)
void init ()
void update ()
void onUnitDiscover (BWAPI::Unit *unit)
void onUnitEvade (BWAPI::Unit *unit)
void onUnitCreate (BWAPI::Unit *unit)
void onUnitDestroy (BWAPI::Unit *unit)
void onUnitMorph (BWAPI::Unit *unit)
void onUnitRenegade (BWAPI::Unit *unit)
void expand ()

Public Attributes

bool stormFirst
bool reaverFirst
int expands
int reservedMinerals
int reservedGas

Friends

class CSingleton< Macro >

Member Function Documentation

void Macro::buildOrderAdd ( BWAPI::UnitType  type)
void Macro::expand ( )

Here is the call graph for this function:

Here is the caller graph for this function:

void Macro::init ( )

Here is the call graph for this function:

void Macro::onUnitCreate ( BWAPI::Unit *  unit)

Built the (first) core

1st Gateway (in a "< 19 supply" sense)

3rd Gateway and oponent not Terran -> forge (for cannons against mutas and DTs, and for +1 attack against Z)

Built templar archives

Here is the call graph for this function:

void Macro::onUnitDestroy ( BWAPI::Unit *  unit)

Here is the call graph for this function:

void Macro::onUnitDiscover ( BWAPI::Unit *  unit)

Here is the call graph for this function:

void Macro::onUnitEvade ( BWAPI::Unit *  unit)

Here is the call graph for this function:

void Macro::onUnitMorph ( BWAPI::Unit *  unit)

Here is the call graph for this function:

void Macro::onUnitRenegade ( BWAPI::Unit *  unit)

Here is the call graph for this function:

void Macro::techAdd ( BWAPI::TechType  type)
void Macro::update ( )

Here is the call graph for this function:

void Macro::upgradeAdd ( BWAPI::UpgradeType  type)

Friends And Related Function Documentation

friend class CSingleton< Macro > [friend]

Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines