#include <ExplosionType.h>
Public Member Functions | |
ExplosionType () | |
ExplosionType (int id) | |
ExplosionType (const ExplosionType &other) | |
ExplosionType & | operator= (const ExplosionType &other) |
bool | operator== (const ExplosionType &other) const |
bool | operator!= (const ExplosionType &other) const |
bool | operator< (const ExplosionType &other) const |
int | getID () const |
std::string | getName () const |
ExplosionType () | |
ExplosionType (int id) | |
ExplosionType (const ExplosionType &other) | |
ExplosionType & | operator= (const ExplosionType &other) |
bool | operator== (const ExplosionType &other) const |
bool | operator!= (const ExplosionType &other) const |
bool | operator< (const ExplosionType &other) const |
int | getID () const |
std::string | getName () const |
Private Attributes | |
int | id |
Definition at line 9 of file ExplosionType.h.
FastEcslent::ExplosionType::ExplosionType | ( | ) |
Definition at line 53 of file ExplosionType.cpp.
References id, and FastEcslent::ExplosionTypes::None.
FastEcslent::ExplosionType::ExplosionType | ( | int | id | ) |
Definition at line 57 of file ExplosionType.cpp.
References id, FastEcslent::initializingExplosionType, and FastEcslent::ExplosionTypes::Unknown.
FastEcslent::ExplosionType::ExplosionType | ( | const ExplosionType & | other | ) |
FastEcslent::ExplosionType::ExplosionType | ( | ) |
FastEcslent::ExplosionType::ExplosionType | ( | int | id | ) |
FastEcslent::ExplosionType::ExplosionType | ( | const ExplosionType & | other | ) |
ExplosionType & FastEcslent::ExplosionType::operator= | ( | const ExplosionType & | other | ) |
bool FastEcslent::ExplosionType::operator== | ( | const ExplosionType & | other | ) | const |
bool FastEcslent::ExplosionType::operator!= | ( | const ExplosionType & | other | ) | const |
bool FastEcslent::ExplosionType::operator< | ( | const ExplosionType & | other | ) | const |
int FastEcslent::ExplosionType::getID | ( | ) | const |
Returns a unique ID for this explosion type.
Definition at line 84 of file ExplosionType.cpp.
References id.
Referenced by FastEcslent::ExplosionTypes::init().
std::string FastEcslent::ExplosionType::getName | ( | ) | const |
Returns the name of this explosion type.
Definition at line 88 of file ExplosionType.cpp.
References FastEcslent::explosionTypeName, and id.
ExplosionType& FastEcslent::ExplosionType::operator= | ( | const ExplosionType & | other | ) |
bool FastEcslent::ExplosionType::operator== | ( | const ExplosionType & | other | ) | const |
bool FastEcslent::ExplosionType::operator!= | ( | const ExplosionType & | other | ) | const |
bool FastEcslent::ExplosionType::operator< | ( | const ExplosionType & | other | ) | const |
int FastEcslent::ExplosionType::getID | ( | ) | const |
Returns a unique ID for this explosion type.
std::string FastEcslent::ExplosionType::getName | ( | ) | const |
Returns the name of this explosion type.
int FastEcslent::ExplosionType::id [private] |
Definition at line 26 of file ExplosionType.h.
Referenced by ExplosionType(), getID(), getName(), operator!=(), operator<(), operator=(), and operator==().