BWAPI
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
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

Private Attributes

int id

Detailed Description

Definition at line 6 of file DamageType.h.


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)

Member Data Documentation

int BWAPI::DamageType::id [private]

Definition at line 22 of file DamageType.h.


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