YAPOG  0.0.1
Yet Another Pokemon Online Game
PokemonType.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_POKEMONTYPE_HPP
2 # define YAPOG_POKEMONTYPE_HPP
3 
4 # include "YAPOG/Macros.hpp"
6 
7 namespace yap
8 {
10  {
11  public:
12  PokemonType ();
13  PokemonType (const ID& type1, const ID& type2);
14 
16  const TypeInfo& GetType1 () const;
17  const TypeInfo& GetType2 () const;
18 
20  void SetType1 (const ID& typeID);
21  void SetType2 (const ID& typeID);
22 
23  private:
26 
27  static const ID DEFAULT_TYPE_ID;
28  };
29 } // namespace yap
30 
31 #endif // YAPOG_POKEMONTYPE_HPP