YAPOG  0.0.1
Yet Another Pokemon Online Game
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"
6 
7 namespace yap
8 {
10  {
12 
13  public:
14 
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 
33  };
34 } // namespace yap
35 
36 #endif // YAPOG_PROGRESSIVECAMERACONTROLLER_HPP