YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
EndTrainerBattlePhase.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_CLIENT_ENDTRAINERBATTLEPHASE_HPP
2
# define YAPOG_CLIENT_ENDTRAINERBATTLEPHASE_HPP
3
4
# include "
YAPOG/Macros.hpp
"
5
# include "
YAPOG/Graphics/IDrawable.hpp
"
6
7
# include "Battle/Phase/EndBattlePhase.hpp"
8
9
namespace
yap
10
{
11
class
PhaseArgs;
12
}
// namespace yap
13
14
namespace
ycl
15
{
16
class
Battle;
17
18
class
EndTrainerBattlePhase
19
:
public
EndBattlePhase
20
{
21
public
:
22
EndTrainerBattlePhase
(
Battle
& battle);
23
virtual
~EndTrainerBattlePhase
();
24
27
virtual
void
HandleStart
(
yap::PhaseArgs
* args);
28
virtual
void
HandleUpdate
(
const
yap::Time
& dt);
29
virtual
void
HandleEnd
();
31
32
protected
:
33
virtual
void
HandleDraw
(
yap::IDrawingContext
& context);
34
virtual
void
HandleShow
(
bool
isVisible);
35
virtual
void
HandleChangeColor
(
const
sf::Color& color);
36
37
static
const
bool
DEFAULT_VISIBLE_STATE
;
38
static
const
sf::Color
DEFAULT_COLOR
;
39
40
bool
isVisible_
;
41
sf::Color
color_
;
42
};
43
}
// namespace ycl
44
45
#endif // YAPOG_CLIENT_ENDTRAINERBATTLEPHASE_HPP
YAPOG.Client
include
Battle
Phase
EndTrainerBattlePhase.hpp
Generated on Mon Sep 17 2012 22:24:21 for YAPOG by
1.8.1.1