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