Elaztek Developer Hub
Blamite Game Engine - blam!  00398.09.22.23.2015.blamite
The core library for the Blamite Game Engine.
Demo::CameraController Class Reference

#include <CameraController.h>

Public Member Functions

 CameraController (GraphicsSystem *graphicsSystem, bool useSceneNode=false)
 
void update (float timeSinceLast)
 
bool keyPressed (const SDL_KeyboardEvent &arg)
 Returns true if we've handled the event. More...
 
bool keyReleased (const SDL_KeyboardEvent &arg)
 Returns true if we've handled the event. More...
 
void mouseMoved (const SDL_Event &arg)
 

Public Attributes

float mCameraBaseSpeed
 
float mCameraSpeedBoost
 

Constructor & Destructor Documentation

◆ CameraController()

Demo::CameraController::CameraController ( GraphicsSystem graphicsSystem,
bool  useSceneNode = false 
)

Member Function Documentation

◆ keyPressed()

bool Demo::CameraController::keyPressed ( const SDL_KeyboardEvent arg)

Returns true if we've handled the event.

+ Here is the caller graph for this function:

◆ keyReleased()

bool Demo::CameraController::keyReleased ( const SDL_KeyboardEvent arg)

Returns true if we've handled the event.

+ Here is the caller graph for this function:

◆ mouseMoved()

void Demo::CameraController::mouseMoved ( const SDL_Event arg)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ update()

void Demo::CameraController::update ( float  timeSinceLast)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ mCameraBaseSpeed

float Demo::CameraController::mCameraBaseSpeed

◆ mCameraSpeedBoost

float Demo::CameraController::mCameraSpeedBoost

The documentation for this class was generated from the following files: