#include <Pokemon.hpp>
List of all members.
Public Member Functions |
| | Pokemon (const yap::ID &staticID) |
| | Pokemon (const yap::ID &staticID, const yap::UInt16 &level, const bool &shiny) |
| | Pokemon (const yap::ID &uniqueID, const yap::ID &staticID, const yap::String &trainerName, const yap::String &nickname, const yap::PokemonStat &stats, const yap::Gender &gender, const yap::PokemonStatus &status, const bool shiny, const yap::Int16 &loyalty, const yap::PokemonMoveSet &moveSet, const yap::ID &natureID, const yap::uint &exp, const yap::UInt8 &boxNumber, const yap::ID &boxIndex, const yap::String &catchDate) |
| virtual | ~Pokemon () |
| yap::ISprite & | GetIcon () const |
| | Getters.
|
| yap::ISprite & | GetGenderIcon () const |
| yap::ISprite & | GetBattleBack () const |
| yap::ISprite & | GetBattleFront () const |
| yap::ISprite & | GetType1Icon () const |
| yap::ISprite & | GetType2Icon () const |
| void | PlayCry () |
| | 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 17 of file Pokemon.hpp.
Constructor & Destructor Documentation
| ycl::Pokemon::Pokemon |
( |
const yap::ID & |
staticID | ) |
|
| ycl::Pokemon::Pokemon |
( |
const yap::ID & |
staticID, |
|
|
const yap::UInt16 & |
level, |
|
|
const bool & |
shiny |
|
) |
| |
| ycl::Pokemon::Pokemon |
( |
const yap::ID & |
uniqueID, |
|
|
const yap::ID & |
staticID, |
|
|
const yap::String & |
trainerName, |
|
|
const yap::String & |
nickname, |
|
|
const yap::PokemonStat & |
stats, |
|
|
const yap::Gender & |
gender, |
|
|
const yap::PokemonStatus & |
status, |
|
|
const bool |
shiny, |
|
|
const yap::Int16 & |
loyalty, |
|
|
const yap::PokemonMoveSet & |
moveSet, |
|
|
const yap::ID & |
natureID, |
|
|
const yap::uint & |
exp, |
|
|
const yap::UInt8 & |
boxNumber, |
|
|
const yap::ID & |
boxIndex, |
|
|
const yap::String & |
catchDate |
|
) |
| |
| ycl::Pokemon::~Pokemon |
( |
| ) |
|
|
virtual |
Member Function Documentation
| ycl::Pokemon::DISALLOW_COPY |
( |
Pokemon |
| ) |
|
|
private |
| void ycl::Pokemon::Init |
( |
| ) |
|
|
private |
| void ycl::Pokemon::LoadSprites |
( |
| ) |
|
|
private |
| void ycl::Pokemon::PlayCry |
( |
| ) |
|
Member Data Documentation
The documentation for this class was generated from the following files: