BWAPI
Public Types | Public Member Functions | Public Attributes
MetaType Struct Reference

#include <MetaType.h>

Collaboration diagram for MetaType:
Collaboration graph
[legend]

List of all members.

Public Types

enum  type_enum {
  Unit, Tech, Upgrade, Command,
  Default
}

Public Member Functions

 MetaType ()
 MetaType (BWAPI::UnitType t)
 MetaType (BWAPI::TechType t)
 MetaType (BWAPI::UpgradeType t)
 MetaType (BWAPI::UnitCommandType t)
bool isUnit ()
bool isTech ()
bool isUpgrade ()
bool isCommand ()
bool isBuilding ()
bool isRefinery ()
int supplyRequired ()
int mineralPrice ()
int gasPrice ()
BWAPI::UnitType whatBuilds ()
std::string getName ()

Public Attributes

type_enum type
BWAPI::UnitCommandType commandType
BWAPI::UnitType unitType
BWAPI::TechType techType
BWAPI::UpgradeType upgradeType

Member Enumeration Documentation

Enumerator:
Unit 
Tech 
Upgrade 
Command 
Default 

Constructor & Destructor Documentation

MetaType::MetaType ( ) [inline]

Member Function Documentation

int MetaType::gasPrice ( ) [inline]

Here is the call graph for this function:

std::string MetaType::getName ( ) [inline]

Here is the call graph for this function:

bool MetaType::isBuilding ( ) [inline]

Here is the call graph for this function:

Here is the caller graph for this function:

bool MetaType::isCommand ( ) [inline]

Here is the caller graph for this function:

bool MetaType::isRefinery ( ) [inline]

Here is the call graph for this function:

bool MetaType::isTech ( ) [inline]

Here is the caller graph for this function:

bool MetaType::isUnit ( ) [inline]

Here is the caller graph for this function:

bool MetaType::isUpgrade ( ) [inline]

Here is the caller graph for this function:

int MetaType::mineralPrice ( ) [inline]

Here is the call graph for this function:

int MetaType::supplyRequired ( ) [inline]

Here is the call graph for this function:

Here is the call graph for this function:


Member Data Documentation


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