YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
MapPlayerInfoPanel.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_CLIENT_MAPPLAYERINFOPANEL_HPP
2
# define YAPOG_CLIENT_MAPPLAYERINFOPANEL_HPP
3
4
# include "
YAPOG/Macros.hpp
"
5
# include "
YAPOG/Graphics/Gui/Game/World/GameWorldWidget.hpp
"
6
7
namespace
yap
8
{
9
class
Label;
10
}
// namespace yap
11
12
namespace
ycl
13
{
14
class
Player;
15
16
class
MapPlayerInfoPanel
:
public
yap::GameWorldWidget
17
{
18
DISALLOW_COPY
(
MapPlayerInfoPanel
);
19
20
public
:
21
22
MapPlayerInfoPanel
();
23
24
virtual
~MapPlayerInfoPanel
();
25
26
void
Init
(
Player
& player);
27
28
protected
:
29
30
virtual
void
HandleSetGameWorldParent
(
31
const
GameWorldWidget
& gameWorldParent);
32
33
private
:
34
35
void
UpdateLabel
(
const
yap::Vector2
& position);
36
37
Player
*
player_
;
38
40
yap::Label
*
playerNameLabel_
;
41
};
42
}
// namespace ycl
43
44
#endif // YAPOG_CLIENT_MAPPLAYERINFOPANEL_HPP
YAPOG.Client
include
Gui
MapPlayerInfoPanel.hpp
Generated on Mon Sep 17 2012 22:24:21 for YAPOG by
1.8.1.1