YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
BattlePhaseManager.cpp
Go to the documentation of this file.
1
#include "
Battle/BattlePhaseManager.hpp
"
2
3
namespace
ycl
4
{
5
BattlePhaseManager::BattlePhaseManager
()
6
{
7
}
8
9
BattlePhaseManager::~BattlePhaseManager
()
10
{
11
}
12
13
void
BattlePhaseManager::Draw
(
yap::IDrawingContext
& context)
14
{
15
if
(!
IsVisible
())
16
return
;
17
18
HandleDraw
(context);
19
}
20
21
bool
BattlePhaseManager::IsVisible
()
const
22
{
23
return
isVisible_
;
24
}
25
26
void
BattlePhaseManager::Show
(
bool
isVisible)
27
{
28
isVisible_
= isVisible;
29
30
HandleShow
(isVisible);
31
}
32
33
void
BattlePhaseManager::ChangeColor
(
const
sf::Color& color)
34
{
35
color_
= color;
36
37
HandleChangeColor
(color);
38
}
39
40
void
BattlePhaseManager::HandleDraw
(
yap::IDrawingContext
& context)
41
{
42
}
43
44
void
BattlePhaseManager::HandleShow
(
bool
isVisible)
45
{
46
}
47
48
void
BattlePhaseManager::HandleChangeColor
(
const
sf::Color& color)
49
{
50
}
51
}
// namespace ycl
YAPOG.Client
src
Battle
BattlePhaseManager.cpp
Generated on Mon Sep 17 2012 22:24:24 for YAPOG by
1.8.1.1