YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
BattleParameters.cpp
Go to the documentation of this file.
1
#include "Battle/BattleParameters.hpp"
2
#include "
Battle/IDrawableBattleEntity.hpp
"
3
4
namespace
ycl
5
{
6
BattleParameters::BattleParameters
()
7
: yap::
BattleParameters
()
8
, opponent_ (nullptr)
9
{
10
}
11
12
BattleParameters::~BattleParameters
()
13
{
14
}
15
16
// Getters
17
IDrawableBattleEntity
&
BattleParameters::GetOpponent
()
const
18
{
return
*
opponent_
; };
19
20
// Setters
21
void
BattleParameters::SetOpponent
(
IDrawableBattleEntity
* value)
22
{
23
// We set the opponent of the base class
24
yap::BattleParameters::SetOpponent
(value);
25
26
opponent_
= value;
27
}
28
29
}
// namespace yap
YAPOG.Client
src
Battle
BattleParameters.cpp
Generated on Mon Sep 17 2012 22:24:24 for YAPOG by
1.8.1.1