YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
PlayerTrainer.cpp
Go to the documentation of this file.
1
#include "Battle/PlayerTrainer.hpp"
2
//#include "Battle/PokemonFighterTeam.hpp"
3
#include "Pokemon/PokemonTeam.hpp"
4
#include "
YAPOG/Game/Pokemon/Pokedex.hpp
"
5
#include "
YAPOG/System/Error/Exception.hpp
"
6
7
namespace
ycl
8
{
9
PlayerTrainer::PlayerTrainer
()
10
: yap::
PlayerTrainer
()
11
, team_ (nullptr)
12
, pokedex_ (nullptr)
13
, battleParameters_ (nullptr)
14
{
15
}
16
17
PlayerTrainer::~PlayerTrainer
()
18
{
19
}
20
22
/*
23
PokemonFighterTeam& PlayerTrainer::GetTeam ()
24
{ return *team_; }
25
*/
26
PokemonTeam
&
PlayerTrainer::GetTeam
()
27
{
return
*
team_
; }
28
29
yap::UInt32
PlayerTrainer::GetPokemonCaughtCount
()
const
30
{
31
return
pokedex_
->
GetPokemonCaughtCount
();
32
}
33
34
BattleParameters
&
35
PlayerTrainer::GetBattleParameters
()
const
36
{
return
*
battleParameters_
; }
37
39
/*
40
void PlayerTrainer::SetTeam (PokemonFighterTeam* value)
41
{ team_ = value; }
42
*/
43
44
void
PlayerTrainer::SetTeam
(
PokemonTeam
* value)
45
{
team_
= value; }
46
47
void
PlayerTrainer::SetPokedex
(
yap::Pokedex
* value)
48
{
pokedex_
= value; }
49
50
void
PlayerTrainer::SetBattleParameters
(
BattleParameters
* value)
51
{
battleParameters_
= value; }
52
53
}
// namespace yap
YAPOG.Client
src
Battle
PlayerTrainer.cpp
Generated on Mon Sep 17 2012 22:24:24 for YAPOG by
1.8.1.1