YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
Pokedex.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_POKEDEX_HPP
2
# define YAPOG_POKEDEX_HPP
3
4
# include "
YAPOG/Macros.hpp
"
5
# include "
YAPOG/Collection/Map.hpp
"
6
# include "
YAPOG/Collection/Array.hpp
"
7
# include "
YAPOG/System/IntTypes.hpp
"
8
# include "
YAPOG/Game/Pokemon/PokemonInfo.hpp
"
9
# include "
YAPOG/Game/ID.hpp
"
10
# include "
YAPOG/System/Event/Event.hpp
"
11
12
namespace
yap
13
{
14
class
YAPOG_LIB
Pokedex
15
{
16
public
:
17
Pokedex
();
18
~
Pokedex
();
19
20
yap::Event<Pokedex&, const yap::EmptyEventArgs&>
OnAddPokemon
;
21
22
void
SetPokemonSeenInfoList (
const
collection::Array<PokemonInfo*>
& pokSeen);
23
void
SetPokemonCaughtInfoList (
const
collection::Array<PokemonInfo*>
& pokCaught);
24
void
SetPokemonList (
const
collection::Array<PokemonInfo*>
& pokList);
25
26
uint
GetMaxIDSeen ()
const
;
27
const
PokemonInfo
& GetPokemonSeen (
uint
index)
const
;
28
const
PokemonInfo
* GetPokemonSeenID (
uint
ID
)
const
;
29
PokemonInfo
* GetPokemon (
uint
index)
const
;
30
uint
GetPokemonSeenCount ()
const
;
31
uint
GetPokemonCaughtCount ()
const
;
32
uint
GetPokemonCount ()
const
;
33
34
void
AddPokemon (
PokemonInfo
* pok);
35
void
AddPokemonSeen (
PokemonInfo
* pokSeen);
36
void
AddPokemonCaught (
PokemonInfo
* pokCaught);
37
void
Init ();
38
39
private
:
40
collection::Array<PokemonInfo*>
pokSeen_
;
41
collection::Array<PokemonInfo*>
pokCaught_
;
42
collection::Array<PokemonInfo*>
pokList_
;
43
};
44
}
// namespace yap
45
46
#endif // YAPOG_POKEDEX_HPP
YAPOG
include
YAPOG
Game
Pokemon
Pokedex.hpp
Generated on Mon Sep 17 2012 22:24:23 for YAPOG by
1.8.1.1