BWAPI
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines
Public Member Functions
BWAPI::DamageType Class Reference

#include <DamageType.h>

List of all members.

Public Member Functions

 DamageType ()
 DamageType (int id)
 DamageType (const DamageType &other)
DamageTypeoperator= (const DamageType &other)
 operator int () const
int getID () const
std::string getName () const

Constructor & Destructor Documentation


Member Function Documentation

int BWAPI::DamageType::getID ( ) const

Returns a unique ID for this damage type.

std::string BWAPI::DamageType::getName ( ) const

Returns the name of this damage type. For example DamageTypes::Explosive.getName() will return std::string("Explosive").

BWAPI::DamageType::operator int ( ) const
DamageType& BWAPI::DamageType::operator= ( const DamageType other)

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