9 #ifndef _TurtleBrains_Camera_h_
10 #define _TurtleBrains_Camera_h_
12 #include "../math/tb_vector.h"
100 void Update(
const float deltaTime);
140 float mShakeIntensity;
141 float mShakeDuration;
void SetRotation(const float cameraRotation)
Definition: tb_vector.h:47
const tbMath::Vector2 & GetPosition(void) const
A shake intensity level like some slight vibration from movement.
Definition: tb_camera.h: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.h:55
Here is some information about the primary namespace.
Definition: tb_application_dialog.h:21
void ShakeCamera(const IntensityLevel &shakeIntensity, const float shakeDuration=-1.0f)
A shake intensity level like a small explosion.
Definition: tb_camera.h:59
Definition: tb_camera.h:49
void SetActiveCamera(Camera &camera)
Camera & GetActiveCamera(void)
A shake intensity level like an earthquake is happening.
Definition: tb_camera.h:60
float GetRotation(void) const
A shake intensity level that cancels out any current shaking effects.
Definition: tb_camera.h:57
tbMath::Vector2 GetPositionWithShake(void) const
void Update(const float deltaTime)