![]() |
YAPOG
0.0.1
Yet Another Pokemon Online Game
|
#include <CenteredCameraController.hpp>
Public Member Functions | |
| CenteredCameraController (ICamera &camera) | |
| virtual | ~CenteredCameraController () |
Public Member Functions inherited from yap::CameraController | |
| virtual | ~CameraController () |
| void | SetTarget (ISpatial &target) |
| void | FocusTarget () |
| Forces the controlled ICamera to jump into its target. | |
| void | SetBounds (const FloatRect &bounds) |
| virtual void | Update (const Time &dt) |
| Makes the object evolve for one frame of the game. | |
Public Member Functions inherited from yap::IUpdateable | |
| virtual | ~IUpdateable () |
Protected Member Functions | |
| virtual void | HandleFocusTarget () |
| virtual void | HandleUpdate (const Time &dt) |
Protected Member Functions inherited from yap::CameraController | |
| CameraController (ICamera &camera) | |
| void | CheckBounds (Vector2 &offset) |
| void | CenterOnTarget () |
Private Member Functions | |
| DISALLOW_COPY (CenteredCameraController) | |
Additional Inherited Members | |
Protected Attributes inherited from yap::CameraController | |
| ICamera & | camera_ |
| ISpatial * | target_ |
| FloatRect | bounds_ |
Definition at line 9 of file CenteredCameraController.hpp.
| yap::CenteredCameraController::CenteredCameraController | ( | ICamera & | camera | ) |
Definition at line 7 of file CenteredCameraController.cpp.
|
virtual |
Definition at line 12 of file CenteredCameraController.cpp.
|
private |
|
protectedvirtual |
Implements yap::CameraController.
Definition at line 16 of file CenteredCameraController.cpp.
|
protectedvirtual |
Implements yap::CameraController.
Definition at line 21 of file CenteredCameraController.cpp.