![]() |
YAPOG
0.0.1
Yet Another Pokemon Online Game
|
#include <TypeInfo.hpp>
Public Member Functions | |
| TypeInfo () | |
| TypeInfo (const ID &id) | |
| TypeInfo (const TypeInfo ©) | |
| const ID & | GetID () const |
| Getters. | |
| const String & | GetName () const |
| const float & | GetTypeEffect (const ID &typeID) const |
| void | SetID (const ID &id) |
| Setters. | |
| void | SetName (const String &name) |
| void | AddTypeEffect (const ID &typeID, const float &effect) |
| bool | operator== (const TypeInfo &right) const |
ICloneable members. | |
| virtual TypeInfo * | Clone () const |
Public Member Functions inherited from yap::IIDLoadable | |
| virtual | ~IIDLoadable () |
Public Member Functions inherited from yap::ICloneable | |
| virtual | ~ICloneable () |
Private Attributes | |
| ID | staticID_ |
| String | name_ |
| collection::Map< ID, float > | typeEffect_ |
Static Private Attributes | |
| static const float | DEFAULT_FACTOR_EFFECT_VALUE = 1.f |
Definition at line 13 of file TypeInfo.hpp.
| yap::TypeInfo::TypeInfo | ( | ) |
| yap::TypeInfo::TypeInfo | ( | const ID & | id | ) |
Definition at line 14 of file TypeInfo.cpp.
| yap::TypeInfo::TypeInfo | ( | const TypeInfo & | copy | ) |
Definition at line 21 of file TypeInfo.cpp.
| void yap::TypeInfo::AddTypeEffect | ( | const ID & | typeID, |
| const float & | effect | ||
| ) |
Definition at line 63 of file TypeInfo.cpp.
|
virtual |
Implements yap::ICloneable.
Definition at line 28 of file TypeInfo.cpp.
| const ID & yap::TypeInfo::GetID | ( | ) | const |
| const String & yap::TypeInfo::GetName | ( | ) | const |
Definition at line 39 of file TypeInfo.cpp.
| const float & yap::TypeInfo::GetTypeEffect | ( | const ID & | typeID | ) | const |
Definition at line 44 of file TypeInfo.cpp.
| bool yap::TypeInfo::operator== | ( | const TypeInfo & | right | ) | const |
| void yap::TypeInfo::SetID | ( | const ID & | id | ) |
| void yap::TypeInfo::SetName | ( | const String & | name | ) |
|
staticprivate |
Definition at line 42 of file TypeInfo.hpp.
|
private |
Definition at line 39 of file TypeInfo.hpp.
|
private |
Definition at line 38 of file TypeInfo.hpp.
|
private |
Definition at line 40 of file TypeInfo.hpp.