YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
GameWorldGuiManager.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_GAMEWORLDGUIMANAGER_HPP
2
# define YAPOG_GAMEWORLDGUIMANAGER_HPP
3
4
# include "
YAPOG/Macros.hpp
"
5
# include "
YAPOG/Graphics/Gui/Game/World/GameWorldWidget.hpp
"
6
7
namespace
yap
8
{
9
struct
ICamera;
10
struct
IWorldDrawingPolicy;
11
12
class
YAPOG_LIB
GameWorldGuiManager
:
public
GameWorldWidget
13
{
14
DISALLOW_COPY
(
GameWorldGuiManager
);
15
16
public
:
17
18
GameWorldGuiManager
(
19
const
ICamera
& guiCamera,
20
const
ICamera
& worldCamera,
21
const
IWorldDrawingPolicy
& worldDrawingPolicy);
22
23
virtual
~
GameWorldGuiManager
();
24
25
void
SetWorldDrawingPolicy (
26
const
IWorldDrawingPolicy
& worldDrawingPolicy);
27
28
Vector2
WorldPointToGuiPoint (
const
Vector3
& worldPoint)
const
;
29
30
const
ICamera
& GetWorldCamera ()
const
;
31
32
protected
:
33
34
virtual
const
GameWorldGuiManager
& GetGameWorldRoot ()
const
;
35
36
private
:
37
38
const
ICamera
&
guiCamera_
;
39
const
ICamera
&
worldCamera_
;
40
41
const
IWorldDrawingPolicy
*
worldDrawingPolicy_
;
42
};
43
}
// namespace yap
44
45
#endif // YAPOG_GAMEWORLDGUIMANAGER_HPP
YAPOG
include
YAPOG
Graphics
Gui
Game
World
GameWorldGuiManager.hpp
Generated on Mon Sep 17 2012 22:24:24 for YAPOG by
1.8.1.1