My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
UnitSizeType  
Updated Apr 14, 2011 by AHein...@gmail.com

Class header file: BWAPI/UnitSizeType.h

List of all UnitSizeTypes.

Methods:

Non-member methods in UnitSizeTypes namespace:

getID

int getID();

Returns a unique ID for this UnitSizeType.

getName

std::string getName();

Returns the string corresponding to the UnitSizeType object. For example, UnitSizeTypes::Medium.getName() returns std::string("Medium").

getUnitSizeType

UnitSizeType getUnitSizeType(std::string name);

Given a string, this function returns the size time it refers to. For example, UnitSizeTypes::getUnitSizeType("Small") returns UnitSizeTypes::Small.

allUnitSizeTypes

std::set<UnitSizeType>& allUnitSizeTypes();

Returns the set of all the sizes, which are listed below:

UnitSizeTypes

  • Independent
  • Small
  • Medium
  • Large
  • None
  • Unknown

Sign in to add a comment
Powered by Google Project Hosting