YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
WorldDrawingPolicy.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_WORLDDRAWINGPOLICY_HPP
2
# define YAPOG_WORLDDRAWINGPOLICY_HPP
3
4
# include "
YAPOG/Macros.hpp
"
5
# include "
YAPOG/Graphics/Game/World/IWorldDrawingPolicy.hpp
"
6
7
namespace
yap
8
{
9
class
YAPOG_LIB
WorldDrawingPolicy
:
public
IWorldDrawingPolicy
10
{
11
DISALLOW_COPY
(
WorldDrawingPolicy
);
12
13
public
:
14
15
virtual
~
WorldDrawingPolicy
();
16
19
virtual
Vector2
ToScreenPosition (
20
const
Vector3
& worldPosition)
const
;
21
22
virtual
Vector2
ToScreenOffset (
23
const
Vector3
& worldOffset)
const
;
24
25
virtual
float
GetComparisonPoint (
26
const
ISpatial3
& spatial)
const
;
28
29
protected
:
30
31
WorldDrawingPolicy
();
32
33
virtual
Vector2
HandleToScreenPosition (
34
const
Vector3
& worldPosition)
const
= 0;
35
36
virtual
float
HandleGetComparisonPoint (
37
const
ISpatial3
& spatial)
const
= 0;
38
};
39
}
// namespace yap
40
41
#endif // YAPOG_WORLDDRAWINGPOLICY_HPP
YAPOG
include
YAPOG
Graphics
Game
World
WorldDrawingPolicy.hpp
Generated on Mon Sep 17 2012 22:24:23 for YAPOG by
1.8.1.1