#include <Pokemon.hpp>
List of all members.
Public Member Functions |
| | Pokemon (const ID &staticID) |
| | Pokemon (const ID &staticID, const UInt16 &level, const bool &shiny) |
| | Pokemon (const ID &uniqueID, const ID &staticID, const String &trainerName, const String &nickname, const PokemonStat &stats, const Gender &gender, const PokemonStatus &status, const bool shiny, const Int16 &loyalty, const PokemonMoveSet &moveSet, const ID &natureID, const uint &exp, const UInt8 &boxNumber, const ID &boxIndex, const String &catchDate) |
| const ID & | GetUniqueID () const |
| | Getters.
|
| const ID & | GetStaticID () const |
| const String & | GetTrainerName () const |
| const String & | GetName () const |
| const String & | GetNickname () const |
| const TypeInfo & | GetType1 () const |
| const TypeInfo & | GetType2 () const |
| float | GetTypeEffectFactor (const TypeInfo &type) const |
| const uint & | GetTotalExperience () const |
| const UInt32 & | GetExperienceToNextLevel () const |
| const uint & | GetTotalExperienceToNextLevel () const |
| float | GetExperiencePercentage () const |
| const UInt16 & | GetLevel () const |
| const bool | GetShiny () const |
| const Int16 & | GetLoyalty () const |
| const yap::NatureInfo & | GetNature () const |
| const yap::ID & | GetNatureID () const |
| const PokemonStat & | GetStats () const |
| const Gender & | GetGender () const |
| const PokemonStatus & | GetStatus () const |
| const yap::UInt8 & | GetBoxNumber () const |
| const yap::ID & | GetBoxIndex () const |
| const yap::String & | GetCatchDate () const |
| UInt16 | GetCurrentHP () const |
| UInt16 | GetMaxHP () const |
| const PokemonMoveSet & | GetMoveSet () const |
| const String & | GetIconPath () const |
| bool | LearnMove (const ID &moveID) |
| void | ReplaceMove (const ID &moveID, UInt8 index) |
| void | RestoreHP () |
| | Restore all the hp of the Pokemon.
|
| void | TakeDamage (int damage) |
| void | AddExperience (const Int32 &value) |
Detailed Description
Definition at line 21 of file Pokemon.hpp.
Constructor & Destructor Documentation
| yap::Pokemon::Pokemon |
( |
const ID & |
staticID | ) |
|
| yap::Pokemon::Pokemon |
( |
const ID & |
staticID, |
|
|
const UInt16 & |
level, |
|
|
const bool & |
shiny |
|
) |
| |
| yap::Pokemon::Pokemon |
( |
const ID & |
uniqueID, |
|
|
const ID & |
staticID, |
|
|
const String & |
trainerName, |
|
|
const String & |
nickname, |
|
|
const PokemonStat & |
stats, |
|
|
const Gender & |
gender, |
|
|
const PokemonStatus & |
status, |
|
|
const bool |
shiny, |
|
|
const Int16 & |
loyalty, |
|
|
const PokemonMoveSet & |
moveSet, |
|
|
const ID & |
natureID, |
|
|
const uint & |
exp, |
|
|
const UInt8 & |
boxNumber, |
|
|
const ID & |
boxIndex, |
|
|
const String & |
catchDate |
|
) |
| |
Member Function Documentation
| void yap::Pokemon::AddExperience |
( |
const Int32 & |
value | ) |
|
| yap::Pokemon::DISALLOW_COPY |
( |
Pokemon |
| ) |
|
|
private |
| void yap::Pokemon::Evolve |
( |
| ) |
|
|
private |
| const yap::ID & yap::Pokemon::GetBoxIndex |
( |
| ) |
const |
| const yap::UInt8 & yap::Pokemon::GetBoxNumber |
( |
| ) |
const |
| const yap::String & yap::Pokemon::GetCatchDate |
( |
| ) |
const |
| UInt16 yap::Pokemon::GetCurrentHP |
( |
| ) |
const |
| float yap::Pokemon::GetExperiencePercentage |
( |
| ) |
const |
| const UInt32 & yap::Pokemon::GetExperienceToNextLevel |
( |
| ) |
const |
| const Gender & yap::Pokemon::GetGender |
( |
| ) |
const |
| const String & yap::Pokemon::GetIconPath |
( |
| ) |
const |
| const UInt16 & yap::Pokemon::GetLevel |
( |
| ) |
const |
| const Int16 & yap::Pokemon::GetLoyalty |
( |
| ) |
const |
| UInt16 yap::Pokemon::GetMaxHP |
( |
| ) |
const |
| const String & yap::Pokemon::GetName |
( |
| ) |
const |
| const yap::ID & yap::Pokemon::GetNatureID |
( |
| ) |
const |
| const String & yap::Pokemon::GetNickname |
( |
| ) |
const |
| const bool yap::Pokemon::GetShiny |
( |
| ) |
const |
| const ID & yap::Pokemon::GetStaticID |
( |
| ) |
const |
| const PokemonStatus & yap::Pokemon::GetStatus |
( |
| ) |
const |
| const UInt32 & yap::Pokemon::GetTotalExperience |
( |
| ) |
const |
| const UInt32 & yap::Pokemon::GetTotalExperienceToNextLevel |
( |
| ) |
const |
| const String & yap::Pokemon::GetTrainerName |
( |
| ) |
const |
| const TypeInfo & yap::Pokemon::GetType1 |
( |
| ) |
const |
| const TypeInfo & yap::Pokemon::GetType2 |
( |
| ) |
const |
| float yap::Pokemon::GetTypeEffectFactor |
( |
const TypeInfo & |
type | ) |
const |
| const ID & yap::Pokemon::GetUniqueID |
( |
| ) |
const |
| void yap::Pokemon::InitExperience |
( |
| ) |
|
|
private |
| void yap::Pokemon::InitMoveSet |
( |
| ) |
|
|
private |
| bool yap::Pokemon::LearnMove |
( |
const ID & |
moveID | ) |
|
| void yap::Pokemon::ReplaceMove |
( |
const ID & |
moveID, |
|
|
UInt8 |
index |
|
) |
| |
| void yap::Pokemon::RestoreHP |
( |
| ) |
|
| void yap::Pokemon::SpecifyGender |
( |
| ) |
|
|
private |
| void yap::Pokemon::TakeDamage |
( |
int |
damage | ) |
|
Member Data Documentation
| ID yap::Pokemon::boxIndex_ |
|
protected |
| UInt8 yap::Pokemon::boxNumber_ |
|
protected |
| String yap::Pokemon::catchDate_ |
|
protected |
| const UInt32 yap::Pokemon::DEFAULT_EXPERIENCE_AMOUNT = 0 |
|
static |
| const ID yap::Pokemon::DEFAULT_NATURE_ID |
|
static |
| Gender yap::Pokemon::gender_ |
|
protected |
| Int16 yap::Pokemon::loyalty_ |
|
protected |
| const int yap::Pokemon::MAX_POKEMON_MOVE_NUMBER = 4 |
|
static |
| String yap::Pokemon::nickname_ |
|
protected |
| bool yap::Pokemon::shiny_ |
|
protected |
| ID yap::Pokemon::staticID_ |
|
protected |
| PokemonStatus yap::Pokemon::status_ |
|
protected |
| String yap::Pokemon::trainerName_ |
|
protected |
| ID yap::Pokemon::uniqueID_ |
|
protected |
The documentation for this class was generated from the following files:
- G:/YAPOG/YAPOG/YAPOG/include/YAPOG/Game/Pokemon/Pokemon.hpp
- G:/YAPOG/YAPOG/YAPOG/src/YAPOG/Game/Pokemon/Pokemon.cpp