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

#include <PokemonInfo.hpp>

Inheritance diagram for yap::PokemonInfo:
Collaboration diagram for yap::PokemonInfo:

List of all members.

Public Member Functions

 PokemonInfo ()
 PokemonInfo (const ID &id)
void InitMoveSet (PokemonMoveSet &moveSet, const UInt16 &level)
bool CanEvolve () const
void PrintBaseStats ()
void PrintBaseSkills ()
ICloneable members.
virtual PokemonInfoClone () const
Setters.
void SetID (const ID &id)
 Setters.
void SetName (const String &name)
void SetDescription (const String &description)
void SetSpecies (const String &species)
void SetGenderProbability (const float &value)
void SetHeight (const float &value)
void SetWeight (const float &value)
void SetExperience (const int &value)
void SetExperienceType (const ExperienceType &value)
void SetRarity (const int &value)
void SetHitPoint (const int &value)
void SetAttack (const int &value)
void SetDefense (const int &value)
void SetSpecialAttack (const int &value)
void SetSpecialDefense (const int &value)
void SetSpeed (const int &value)
void SetHitPointEV (const int &value)
void SetAttackEV (const int &value)
void SetDefenseEV (const int &value)
void SetSpecialAttackEV (const int &value)
void SetSpecialDefenseEV (const int &value)
void SetSpeedEV (const int &value)
void SetType1 (const int &value)
void SetType2 (const int &value)
void AddBaseSkill (const UInt16 level, const ID &skillID)
void SetEvolutionLevel (UInt16 value)
void SetPokemonEvolutionID (const ID &value)
void SetIconPath (const yap::String &value)
void SetMaleFrontPath (const yap::String &value)
void SetMaleBackPath (const yap::String &value)
void SetShinyMaleFrontPath (const yap::String &value)
void SetShinyMaleBackPath (const yap::String &value)
void SetFemaleFrontPath (const yap::String &value)
void SetFemaleBackPath (const yap::String &value)
void SetShinyFemaleFrontPath (const yap::String &value)
void SetShinyFemaleBackPath (const yap::String &value)
Getters.
const IDGetID () const
 Getters.
const StringGetName () const
const StringGetDescription () const
const StringGetSpecies () const
const float & GetGenderProbability () const
const float & GetHeight () const
const float & GetWeight () const
const int & GetExperience () const
const ExperienceType & GetExperienceType () const
const int & GetRarity () const
const int & GetHitPoint () const
const int & GetAttack () const
const int & GetDefense () const
const int & GetSpecialAttack () const
const int & GetSpecialDefense () const
const int & GetSpeed () const
const int & GetHitPointEV () const
const int & GetAttackEV () const
const int & GetDefenseEV () const
const int & GetSpecialAttackEV () const
const int & GetSpecialDefenseEV () const
const int & GetSpeedEV () const
const int & GetType1 () const
const int & GetType2 () const
const collection::List< ID > * GetNewSkills (const UInt16 &level) const
const UInt16GetEvolutionLevel () const
const IDGetPokemonEvolutionID () const
const yap::StringGetIconPath () const
const yap::StringGetMaleFrontPath () const
const yap::StringGetMaleBackPath () const
const yap::StringGetShinyMaleFrontPath () const
const yap::StringGetShinyMaleBackPath () const
const yap::StringGetFemaleFrontPath () const
const yap::StringGetFemaleBackPath () const
const yap::StringGetShinyFemaleFrontPath () const
const yap::StringGetShinyFemaleBackPath () const
- Public Member Functions inherited from yap::IIDLoadable
virtual ~IIDLoadable ()
- Public Member Functions inherited from yap::ICloneable
virtual ~ICloneable ()

Static Public Attributes

static const UInt16 MAX_MOVE_NUMBER = 4

Protected Member Functions

 PokemonInfo (const PokemonInfo &copy)

Private Attributes

ID pokedexID_
String name_
String description_
String species_
float genderProbability_
float height_
float weight_
int experience_
ExperienceType experienceType_
UInt16 evolutionLevel_
ID pokemonEvolutionID_
int rarity_
int baseHitPoint_
int baseAttack_
int baseDefense_
int baseSpecialAttack_
int baseSpecialDefense_
int baseSpeed_
int hitPointEV_
int attackEV_
int defenseEV_
int specialAttackEV_
int specialDefenseEV_
int speedEV_
int type1_
int type2_
collection::Map< UInt16,
collection::List< ID > > 
baseSkills_
Graphic fields.
yap::String iconPath_
Male Pokemon battle sprite strings.
yap::String maleFrontPath_
yap::String maleBackPath_
yap::String shinyMaleFrontPath_
yap::String shinyMaleBackPath_
Female Pokemon battle sprite strings.
yap::String femaleFrontPath_
yap::String femaleBackPath_
yap::String shinyFemaleFrontPath_
yap::String shinyFemaleBackPath_

Static Private Attributes

static const int INITIAL_BASE_STATS_VALUE = 0
static const int INITIAL_BASE_EV_VALUE = 0

Detailed Description

Definition at line 19 of file PokemonInfo.hpp.


Constructor & Destructor Documentation

yap::PokemonInfo::PokemonInfo ( )

Reimplemented in ycl::PokemonInfo.

Definition at line 10 of file PokemonInfo.cpp.

Here is the caller graph for this function:

yap::PokemonInfo::PokemonInfo ( const ID id)

Reimplemented in ycl::PokemonInfo.

Definition at line 50 of file PokemonInfo.cpp.

yap::PokemonInfo::PokemonInfo ( const PokemonInfo copy)
protected

Definition at line 90 of file PokemonInfo.cpp.


Member Function Documentation

void yap::PokemonInfo::AddBaseSkill ( const UInt16  level,
const ID skillID 
)

Definition at line 416 of file PokemonInfo.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool yap::PokemonInfo::CanEvolve ( ) const

Definition at line 289 of file PokemonInfo.cpp.

Here is the caller graph for this function:

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

Implements yap::ICloneable.

Definition at line 130 of file PokemonInfo.cpp.

Here is the call graph for this function:

const int & yap::PokemonInfo::GetAttack ( ) const

Definition at line 215 of file PokemonInfo.cpp.

Here is the caller graph for this function:

const int & yap::PokemonInfo::GetAttackEV ( ) const

Definition at line 264 of file PokemonInfo.cpp.

const int & yap::PokemonInfo::GetDefense ( ) const

Definition at line 220 of file PokemonInfo.cpp.

Here is the caller graph for this function:

const int & yap::PokemonInfo::GetDefenseEV ( ) const

Definition at line 269 of file PokemonInfo.cpp.

const String & yap::PokemonInfo::GetDescription ( ) const

Definition at line 170 of file PokemonInfo.cpp.

const UInt16 & yap::PokemonInfo::GetEvolutionLevel ( ) const

Definition at line 294 of file PokemonInfo.cpp.

Here is the caller graph for this function:

const int & yap::PokemonInfo::GetExperience ( ) const

Definition at line 195 of file PokemonInfo.cpp.

const ExperienceType & yap::PokemonInfo::GetExperienceType ( ) const

Definition at line 200 of file PokemonInfo.cpp.

Here is the caller graph for this function:

const yap::String & yap::PokemonInfo::GetFemaleBackPath ( ) const

Definition at line 317 of file PokemonInfo.cpp.

Here is the caller graph for this function:

const yap::String & yap::PokemonInfo::GetFemaleFrontPath ( ) const

Definition at line 315 of file PokemonInfo.cpp.

Here is the caller graph for this function:

const float & yap::PokemonInfo::GetGenderProbability ( ) const

Definition at line 180 of file PokemonInfo.cpp.

Here is the caller graph for this function:

const float & yap::PokemonInfo::GetHeight ( ) const

Definition at line 185 of file PokemonInfo.cpp.

const int & yap::PokemonInfo::GetHitPoint ( ) const

Definition at line 210 of file PokemonInfo.cpp.

Here is the caller graph for this function:

const int & yap::PokemonInfo::GetHitPointEV ( ) const

Definition at line 259 of file PokemonInfo.cpp.

const yap::String & yap::PokemonInfo::GetIconPath ( ) const

Definition at line 303 of file PokemonInfo.cpp.

Here is the caller graph for this function:

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

Getters.

Definition at line 160 of file PokemonInfo.cpp.

const yap::String & yap::PokemonInfo::GetMaleBackPath ( ) const

Definition at line 308 of file PokemonInfo.cpp.

Here is the caller graph for this function:

const yap::String & yap::PokemonInfo::GetMaleFrontPath ( ) const

Definition at line 306 of file PokemonInfo.cpp.

Here is the caller graph for this function:

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

Definition at line 165 of file PokemonInfo.cpp.

Here is the caller graph for this function:

const collection::List< ID > * yap::PokemonInfo::GetNewSkills ( const UInt16 level) const

Definition at line 250 of file PokemonInfo.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

const ID & yap::PokemonInfo::GetPokemonEvolutionID ( ) const

Definition at line 298 of file PokemonInfo.cpp.

Here is the caller graph for this function:

const int & yap::PokemonInfo::GetRarity ( ) const

Definition at line 205 of file PokemonInfo.cpp.

const yap::String & yap::PokemonInfo::GetShinyFemaleBackPath ( ) const

Definition at line 321 of file PokemonInfo.cpp.

Here is the caller graph for this function:

const yap::String & yap::PokemonInfo::GetShinyFemaleFrontPath ( ) const

Definition at line 319 of file PokemonInfo.cpp.

Here is the caller graph for this function:

const yap::String & yap::PokemonInfo::GetShinyMaleBackPath ( ) const

Definition at line 312 of file PokemonInfo.cpp.

Here is the caller graph for this function:

const yap::String & yap::PokemonInfo::GetShinyMaleFrontPath ( ) const

Definition at line 310 of file PokemonInfo.cpp.

Here is the caller graph for this function:

const int & yap::PokemonInfo::GetSpecialAttack ( ) const

Definition at line 225 of file PokemonInfo.cpp.

Here is the caller graph for this function:

const int & yap::PokemonInfo::GetSpecialAttackEV ( ) const

Definition at line 274 of file PokemonInfo.cpp.

const int & yap::PokemonInfo::GetSpecialDefense ( ) const

Definition at line 230 of file PokemonInfo.cpp.

Here is the caller graph for this function:

const int & yap::PokemonInfo::GetSpecialDefenseEV ( ) const

Definition at line 279 of file PokemonInfo.cpp.

const String & yap::PokemonInfo::GetSpecies ( ) const

Definition at line 175 of file PokemonInfo.cpp.

const int & yap::PokemonInfo::GetSpeed ( ) const

Definition at line 235 of file PokemonInfo.cpp.

Here is the caller graph for this function:

const int & yap::PokemonInfo::GetSpeedEV ( ) const

Definition at line 284 of file PokemonInfo.cpp.

const int & yap::PokemonInfo::GetType1 ( ) const

Definition at line 240 of file PokemonInfo.cpp.

Here is the caller graph for this function:

const int & yap::PokemonInfo::GetType2 ( ) const

Definition at line 245 of file PokemonInfo.cpp.

Here is the caller graph for this function:

const float & yap::PokemonInfo::GetWeight ( ) const

Definition at line 190 of file PokemonInfo.cpp.

void yap::PokemonInfo::InitMoveSet ( PokemonMoveSet moveSet,
const UInt16 level 
)

Definition at line 135 of file PokemonInfo.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void yap::PokemonInfo::PrintBaseSkills ( )

Definition at line 511 of file PokemonInfo.cpp.

Here is the call graph for this function:

void yap::PokemonInfo::PrintBaseStats ( )

Definition at line 488 of file PokemonInfo.cpp.

Here is the call graph for this function:

void yap::PokemonInfo::SetAttack ( const int &  value)

Definition at line 381 of file PokemonInfo.cpp.

Here is the caller graph for this function:

void yap::PokemonInfo::SetAttackEV ( const int &  value)

Definition at line 433 of file PokemonInfo.cpp.

Here is the caller graph for this function:

void yap::PokemonInfo::SetDefense ( const int &  value)

Definition at line 386 of file PokemonInfo.cpp.

Here is the caller graph for this function:

void yap::PokemonInfo::SetDefenseEV ( const int &  value)

Definition at line 438 of file PokemonInfo.cpp.

Here is the caller graph for this function:

void yap::PokemonInfo::SetDescription ( const String description)

Definition at line 336 of file PokemonInfo.cpp.

Here is the caller graph for this function:

void yap::PokemonInfo::SetEvolutionLevel ( UInt16  value)

Definition at line 457 of file PokemonInfo.cpp.

Here is the caller graph for this function:

void yap::PokemonInfo::SetExperience ( const int &  value)

Definition at line 361 of file PokemonInfo.cpp.

Here is the caller graph for this function:

void yap::PokemonInfo::SetExperienceType ( const ExperienceType &  value)

Definition at line 366 of file PokemonInfo.cpp.

Here is the caller graph for this function:

void yap::PokemonInfo::SetFemaleBackPath ( const yap::String value)

Definition at line 481 of file PokemonInfo.cpp.

Here is the caller graph for this function:

void yap::PokemonInfo::SetFemaleFrontPath ( const yap::String value)

Definition at line 479 of file PokemonInfo.cpp.

Here is the caller graph for this function:

void yap::PokemonInfo::SetGenderProbability ( const float &  value)

Definition at line 346 of file PokemonInfo.cpp.

Here is the caller graph for this function:

void yap::PokemonInfo::SetHeight ( const float &  value)

Definition at line 351 of file PokemonInfo.cpp.

Here is the caller graph for this function:

void yap::PokemonInfo::SetHitPoint ( const int &  value)

Definition at line 376 of file PokemonInfo.cpp.

Here is the caller graph for this function:

void yap::PokemonInfo::SetHitPointEV ( const int &  value)

Definition at line 428 of file PokemonInfo.cpp.

Here is the caller graph for this function:

void yap::PokemonInfo::SetIconPath ( const yap::String value)

Definition at line 467 of file PokemonInfo.cpp.

Here is the caller graph for this function:

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

Setters.

Definition at line 326 of file PokemonInfo.cpp.

Here is the caller graph for this function:

void yap::PokemonInfo::SetMaleBackPath ( const yap::String value)

Definition at line 472 of file PokemonInfo.cpp.

Here is the caller graph for this function:

void yap::PokemonInfo::SetMaleFrontPath ( const yap::String value)

Definition at line 470 of file PokemonInfo.cpp.

Here is the caller graph for this function:

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

Definition at line 331 of file PokemonInfo.cpp.

Here is the caller graph for this function:

void yap::PokemonInfo::SetPokemonEvolutionID ( const ID value)

Definition at line 462 of file PokemonInfo.cpp.

Here is the caller graph for this function:

void yap::PokemonInfo::SetRarity ( const int &  value)

Definition at line 371 of file PokemonInfo.cpp.

Here is the caller graph for this function:

void yap::PokemonInfo::SetShinyFemaleBackPath ( const yap::String value)

Definition at line 485 of file PokemonInfo.cpp.

Here is the caller graph for this function:

void yap::PokemonInfo::SetShinyFemaleFrontPath ( const yap::String value)

Definition at line 483 of file PokemonInfo.cpp.

Here is the caller graph for this function:

void yap::PokemonInfo::SetShinyMaleBackPath ( const yap::String value)

Definition at line 476 of file PokemonInfo.cpp.

Here is the caller graph for this function:

void yap::PokemonInfo::SetShinyMaleFrontPath ( const yap::String value)

Definition at line 474 of file PokemonInfo.cpp.

Here is the caller graph for this function:

void yap::PokemonInfo::SetSpecialAttack ( const int &  value)

Definition at line 391 of file PokemonInfo.cpp.

Here is the caller graph for this function:

void yap::PokemonInfo::SetSpecialAttackEV ( const int &  value)

Definition at line 442 of file PokemonInfo.cpp.

Here is the caller graph for this function:

void yap::PokemonInfo::SetSpecialDefense ( const int &  value)

Definition at line 396 of file PokemonInfo.cpp.

Here is the caller graph for this function:

void yap::PokemonInfo::SetSpecialDefenseEV ( const int &  value)

Definition at line 447 of file PokemonInfo.cpp.

Here is the caller graph for this function:

void yap::PokemonInfo::SetSpecies ( const String species)

Definition at line 341 of file PokemonInfo.cpp.

Here is the caller graph for this function:

void yap::PokemonInfo::SetSpeed ( const int &  value)

Definition at line 401 of file PokemonInfo.cpp.

Here is the caller graph for this function:

void yap::PokemonInfo::SetSpeedEV ( const int &  value)

Definition at line 452 of file PokemonInfo.cpp.

Here is the caller graph for this function:

void yap::PokemonInfo::SetType1 ( const int &  value)

Definition at line 406 of file PokemonInfo.cpp.

Here is the caller graph for this function:

void yap::PokemonInfo::SetType2 ( const int &  value)

Definition at line 411 of file PokemonInfo.cpp.

Here is the caller graph for this function:

void yap::PokemonInfo::SetWeight ( const float &  value)

Definition at line 356 of file PokemonInfo.cpp.

Here is the caller graph for this function:


Member Data Documentation

int yap::PokemonInfo::attackEV_
private

Definition at line 150 of file PokemonInfo.hpp.

int yap::PokemonInfo::baseAttack_
private

Definition at line 144 of file PokemonInfo.hpp.

int yap::PokemonInfo::baseDefense_
private

Definition at line 145 of file PokemonInfo.hpp.

int yap::PokemonInfo::baseHitPoint_
private

Definition at line 143 of file PokemonInfo.hpp.

collection::Map<UInt16, collection::List<ID> > yap::PokemonInfo::baseSkills_
private

Definition at line 157 of file PokemonInfo.hpp.

int yap::PokemonInfo::baseSpecialAttack_
private

Definition at line 146 of file PokemonInfo.hpp.

int yap::PokemonInfo::baseSpecialDefense_
private

Definition at line 147 of file PokemonInfo.hpp.

int yap::PokemonInfo::baseSpeed_
private

Definition at line 148 of file PokemonInfo.hpp.

int yap::PokemonInfo::defenseEV_
private

Definition at line 151 of file PokemonInfo.hpp.

String yap::PokemonInfo::description_
private

Definition at line 133 of file PokemonInfo.hpp.

UInt16 yap::PokemonInfo::evolutionLevel_
private

Definition at line 140 of file PokemonInfo.hpp.

int yap::PokemonInfo::experience_
private

Definition at line 138 of file PokemonInfo.hpp.

ExperienceType yap::PokemonInfo::experienceType_
private

Definition at line 139 of file PokemonInfo.hpp.

yap::String yap::PokemonInfo::femaleBackPath_
private

Definition at line 174 of file PokemonInfo.hpp.

yap::String yap::PokemonInfo::femaleFrontPath_
private

Definition at line 173 of file PokemonInfo.hpp.

float yap::PokemonInfo::genderProbability_
private

Definition at line 135 of file PokemonInfo.hpp.

float yap::PokemonInfo::height_
private

Definition at line 136 of file PokemonInfo.hpp.

int yap::PokemonInfo::hitPointEV_
private

Definition at line 149 of file PokemonInfo.hpp.

yap::String yap::PokemonInfo::iconPath_
private

Definition at line 161 of file PokemonInfo.hpp.

const int yap::PokemonInfo::INITIAL_BASE_EV_VALUE = 0
staticprivate

Definition at line 182 of file PokemonInfo.hpp.

const int yap::PokemonInfo::INITIAL_BASE_STATS_VALUE = 0
staticprivate

Definition at line 181 of file PokemonInfo.hpp.

yap::String yap::PokemonInfo::maleBackPath_
private

Definition at line 166 of file PokemonInfo.hpp.

yap::String yap::PokemonInfo::maleFrontPath_
private

Definition at line 165 of file PokemonInfo.hpp.

const UInt16 yap::PokemonInfo::MAX_MOVE_NUMBER = 4
static

Definition at line 124 of file PokemonInfo.hpp.

String yap::PokemonInfo::name_
private

Definition at line 132 of file PokemonInfo.hpp.

ID yap::PokemonInfo::pokedexID_
private

Definition at line 131 of file PokemonInfo.hpp.

ID yap::PokemonInfo::pokemonEvolutionID_
private

Definition at line 141 of file PokemonInfo.hpp.

int yap::PokemonInfo::rarity_
private

Definition at line 142 of file PokemonInfo.hpp.

yap::String yap::PokemonInfo::shinyFemaleBackPath_
private

Definition at line 176 of file PokemonInfo.hpp.

yap::String yap::PokemonInfo::shinyFemaleFrontPath_
private

Definition at line 175 of file PokemonInfo.hpp.

yap::String yap::PokemonInfo::shinyMaleBackPath_
private

Definition at line 168 of file PokemonInfo.hpp.

yap::String yap::PokemonInfo::shinyMaleFrontPath_
private

Definition at line 167 of file PokemonInfo.hpp.

int yap::PokemonInfo::specialAttackEV_
private

Definition at line 152 of file PokemonInfo.hpp.

int yap::PokemonInfo::specialDefenseEV_
private

Definition at line 153 of file PokemonInfo.hpp.

String yap::PokemonInfo::species_
private

Definition at line 134 of file PokemonInfo.hpp.

int yap::PokemonInfo::speedEV_
private

Definition at line 154 of file PokemonInfo.hpp.

int yap::PokemonInfo::type1_
private

Definition at line 155 of file PokemonInfo.hpp.

int yap::PokemonInfo::type2_
private

Definition at line 156 of file PokemonInfo.hpp.

float yap::PokemonInfo::weight_
private

Definition at line 137 of file PokemonInfo.hpp.


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