YAPOG  0.0.1
Yet Another Pokemon Online Game
yap::NatureInfo Class Reference

#include <NatureInfo.hpp>

Inheritance diagram for yap::NatureInfo:
Collaboration diagram for yap::NatureInfo:

List of all members.

Public Member Functions

 NatureInfo ()
 NatureInfo (const ID &id)
 NatureInfo (const NatureInfo &copy)
const IDGetID () const
 Getters.
const StringGetName () const
const float & GetAttackFactor () const
const float & GetDefenseFactor () const
const float & GetSpecialAttackFactor () const
const float & GetSpecialDefenseFactor () const
const float & GetSpeedFactor () const
void SetID (const ID &id)
 Setters.
void SetName (const String &name)
void SetAttackFactor (const float &factor)
void SetDefenseFactor (const float &factor)
void SetSpecialAttackFactor (const float &factor)
void SetSpecialDefenseFactor (const float &factor)
void SetSpeedFactor (const float &factor)
ICloneable members.
virtual NatureInfoClone () 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_
float attackFactor_
float defenseFactor_
float specialAttackFactor_
float specialDefenseFactor_
float speedFactor_

Static Private Attributes

static const float INITIAL_FACTOR_VALUE = 1.f

Detailed Description

Definition at line 11 of file NatureInfo.hpp.


Constructor & Destructor Documentation

yap::NatureInfo::NatureInfo ( )

Definition at line 7 of file NatureInfo.cpp.

Here is the caller graph for this function:

yap::NatureInfo::NatureInfo ( const ID id)

Definition at line 18 of file NatureInfo.cpp.

yap::NatureInfo::NatureInfo ( const NatureInfo copy)

Definition at line 29 of file NatureInfo.cpp.


Member Function Documentation

NatureInfo * yap::NatureInfo::Clone ( ) const
virtual

Implements yap::ICloneable.

Definition at line 40 of file NatureInfo.cpp.

Here is the call graph for this function:

const float & yap::NatureInfo::GetAttackFactor ( ) const

Definition at line 55 of file NatureInfo.cpp.

Here is the caller graph for this function:

const float & yap::NatureInfo::GetDefenseFactor ( ) const

Definition at line 60 of file NatureInfo.cpp.

Here is the caller graph for this function:

const ID & yap::NatureInfo::GetID ( ) const

Getters.

Definition at line 45 of file NatureInfo.cpp.

Here is the caller graph for this function:

const String & yap::NatureInfo::GetName ( ) const

Definition at line 50 of file NatureInfo.cpp.

Here is the caller graph for this function:

const float & yap::NatureInfo::GetSpecialAttackFactor ( ) const

Definition at line 65 of file NatureInfo.cpp.

Here is the caller graph for this function:

const float & yap::NatureInfo::GetSpecialDefenseFactor ( ) const

Definition at line 70 of file NatureInfo.cpp.

Here is the caller graph for this function:

const float & yap::NatureInfo::GetSpeedFactor ( ) const

Definition at line 75 of file NatureInfo.cpp.

Here is the caller graph for this function:

void yap::NatureInfo::SetAttackFactor ( const float &  factor)

Definition at line 91 of file NatureInfo.cpp.

Here is the caller graph for this function:

void yap::NatureInfo::SetDefenseFactor ( const float &  factor)

Definition at line 96 of file NatureInfo.cpp.

Here is the caller graph for this function:

void yap::NatureInfo::SetID ( const ID id)

Setters.

Definition at line 81 of file NatureInfo.cpp.

Here is the caller graph for this function:

void yap::NatureInfo::SetName ( const String name)

Definition at line 86 of file NatureInfo.cpp.

Here is the caller graph for this function:

void yap::NatureInfo::SetSpecialAttackFactor ( const float &  factor)

Definition at line 101 of file NatureInfo.cpp.

Here is the caller graph for this function:

void yap::NatureInfo::SetSpecialDefenseFactor ( const float &  factor)

Definition at line 106 of file NatureInfo.cpp.

Here is the caller graph for this function:

void yap::NatureInfo::SetSpeedFactor ( const float &  factor)

Definition at line 111 of file NatureInfo.cpp.

Here is the caller graph for this function:


Member Data Documentation

float yap::NatureInfo::attackFactor_
private

Definition at line 44 of file NatureInfo.hpp.

float yap::NatureInfo::defenseFactor_
private

Definition at line 45 of file NatureInfo.hpp.

const float yap::NatureInfo::INITIAL_FACTOR_VALUE = 1.f
staticprivate

Definition at line 50 of file NatureInfo.hpp.

String yap::NatureInfo::name_
private

Definition at line 43 of file NatureInfo.hpp.

float yap::NatureInfo::specialAttackFactor_
private

Definition at line 46 of file NatureInfo.hpp.

float yap::NatureInfo::specialDefenseFactor_
private

Definition at line 47 of file NatureInfo.hpp.

float yap::NatureInfo::speedFactor_
private

Definition at line 48 of file NatureInfo.hpp.

ID yap::NatureInfo::staticID_
private

Definition at line 42 of file NatureInfo.hpp.


The documentation for this class was generated from the following files: