YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
ProgressiveCameraController.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_PROGRESSIVECAMERACONTROLLER_HPP
2
# define YAPOG_PROGRESSIVECAMERACONTROLLER_HPP
3
4
# include "
YAPOG/Macros.hpp
"
5
# include "
YAPOG/Graphics/CameraController.hpp
"
6
7
namespace
yap
8
{
9
class
YAPOG_LIB
ProgressiveCameraController
:
public
CameraController
10
{
11
DISALLOW_COPY
(
ProgressiveCameraController
);
12
13
public
:
14
15
ProgressiveCameraController
(
ICamera
& camera);
16
virtual
~
ProgressiveCameraController
();
17
18
void
SetVelocityFactor (
const
Vector2
& velocityFactor);
19
20
protected
:
21
22
virtual
void
HandleFocusTarget ();
23
24
virtual
void
HandleUpdate (
const
Time
& dt);
25
26
private
:
27
28
static
const
float
CAMERA_MOVE_TRIGGER_LIMIT
;
29
static
const
float
MOVE_AMORTIZATION_FACTOR
;
30
static
const
float
DEFAULT_VELOCITY_FACTOR
;
31
32
Vector2
velocityFactor_
;
33
};
34
}
// namespace yap
35
36
#endif // YAPOG_PROGRESSIVECAMERACONTROLLER_HPP
YAPOG
include
YAPOG
Graphics
ProgressiveCameraController.hpp
Generated on Mon Sep 17 2012 22:24:24 for YAPOG by
1.8.1.1