YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
MapRootWidget.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_CLIENT_MAPROOTWIDGET_HPP
2
# define YAPOG_CLIENT_MAPROOTWIDGET_HPP
3
4
# include "
YAPOG/Macros.hpp
"
5
# include "
YAPOG/Graphics/Gui/Game/World/GameWorldWidget.hpp
"
6
# include "
YAPOG/Collection/Map.hpp
"
7
8
namespace
ycl
9
{
10
class
Map;
11
class
Player;
12
class
MapPlayerInfoPanel;
13
14
class
MapRootWidget
:
public
yap::GameWorldWidget
15
{
16
DISALLOW_COPY
(
MapRootWidget
);
17
18
public
:
19
20
MapRootWidget
();
21
22
virtual
~MapRootWidget
();
23
24
void
SetCurrentMap
(
Map
* map);
25
26
protected
:
27
28
Map
&
GetCurrentMap
();
29
30
private
:
31
32
void
AddPlayerInfoPanel
(
Player
* player);
33
void
RemovePlayerInfoPanel
(
Player
* player);
34
35
void
Clear
();
36
37
void
HandleSetCurrentMap
(
Map
* oldMap,
Map
* map);
38
39
Map
*
currentMap_
;
40
41
yap::collection::Map<Player*, MapPlayerInfoPanel*>
playerInfoPanels_
;
42
};
43
}
// namespace ycl
44
45
#endif // YAPOG_CLIENT_MAPROOTWIDGET_HPP
YAPOG.Client
include
Gui
MapRootWidget.hpp
Generated on Mon Sep 17 2012 22:24:24 for YAPOG by
1.8.1.1