YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
BattleScreen.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_CLIENT_BATTLESCREEN_HPP
2
# define YAPOG_CLIENT_BATTLESCREEN_HPP
3
4
# include "
YAPOG/Macros.hpp
"
5
6
# include "
GameScreen/BaseScreen.hpp
"
7
# include "
Battle/BattleInterface.hpp
"
8
9
namespace
ycl
10
{
11
class
Battle;
12
class
PokemonTeam;
13
14
class
BattleScreen
:
public
BaseScreen
15
{
16
DISALLOW_COPY
(
BattleScreen
);
17
18
public
:
19
20
explicit
BattleScreen
(
yap::IDrawingContext
& context);
21
virtual
~BattleScreen
();
22
23
protected
:
24
25
virtual
void
HandleInit
();
26
27
virtual
void
HandleRun
(
28
const
yap::Time
& dt,
29
yap::IDrawingContext
& context);
30
31
virtual
void
HandleActivate
();
32
virtual
void
HandleDeactivate
();
33
34
void
SetBattle
(
Battle
* value);
35
private
:
36
37
Battle
*
battle_
;
38
BattleInterface
*
battleInterface_
;
39
40
static
const
yap::ScreenType
DEFAULT_NAME
;
41
};
42
}
// namespace ycl
43
44
#endif // YAPOG_CLIENT_BATTLESCREEN_HPP
YAPOG.Client
include
GameScreen
BattleScreen.hpp
Generated on Mon Sep 17 2012 22:24:21 for YAPOG by
1.8.1.1