9 #ifndef TurtleBrains_Camera_hpp
10 #define TurtleBrains_Camera_hpp
12 #include <turtle_brains/math/tb_vector.hpp>
100 void Update(
const float deltaTime);
140 float mShakeIntensity;
141 float mShakeDuration;
void SetRotation(const float cameraRotation)
Definition: tb_vector.hpp:48
const tbMath::Vector2 & GetPosition(void) const
A shake intensity level like some slight vibration from movement.
Definition: tb_camera.hpp:58
void SetPosition(const tbMath::Vector2 &cameraPosition)
Give the GameScene and Entities something to display, Text, Sprites and AnimatedSprites help bring th...
IntensityLevel
Definition: tb_camera.hpp:55
Here is some information about the primary namespace.
Definition: tb_application_dialog.hpp:21
void ShakeCamera(const IntensityLevel &shakeIntensity, const float shakeDuration=-1.0f)
A shake intensity level like a small explosion.
Definition: tb_camera.hpp:59
Definition: tb_camera.hpp:49
void SetActiveCamera(Camera &camera)
Camera & GetActiveCamera(void)
A shake intensity level like an earthquake is happening.
Definition: tb_camera.hpp:60
float GetRotation(void) const
A shake intensity level that cancels out any current shaking effects.
Definition: tb_camera.hpp:57
tbMath::Vector2 GetPositionWithShake(void) const
void Update(const float deltaTime)