YAPOG  0.0.1
Yet Another Pokemon Online Game
PokemonTable.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_POKEMONTABLE_HPP
2 # define YAPOG_POKEMONTABLE_HPP
3 
4 # include "YAPOG/Macros.hpp"
5 # include "YAPOG/Game/ID.hpp"
6 # include "YAPOG/System/String.hpp"
9 
11 
12 namespace yap
13 {
14  class PokemonStat;
15  class PokemonMoveSet;
16 }
17 
18 namespace yse
19 {
20  class Pokemon;
21 
22  class PokemonTable : public ITable
23  {
25  public:
26  PokemonTable ();
27 
28  void LoadFromPokemon (const Pokemon& pokemon);
29 
31  const yap::String& trainerName,
32  const yap::PokemonStat& stats,
33  const yap::PokemonMoveSet& moveSet);
34 
40  yap::Gender gender_;
42  yap::PokemonStatus status_;
43  bool shiny_;
51 
53  static const yap::ID DEFAULT_ID;
54  static const yap::ID DEFAULT_STATIC_ID;
56  static const yap::UInt16 DEFAULT_HP;
57  static const yap::Gender DEFAULT_GENDER;
59  static const yap::PokemonStatus DEFAULT_STATUS;
60  static const bool DEFAULT_SHINY;
62  static const yap::ID DEFAULT_NATURE;
66  static const yap::ID DEFAULT_BOX_INDEX;
68  };
69 } // namespace yse
70 
71 #endif // YAPOG_POKEMONTABLE_HPP