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