Public Member Functions

DebugCamera Class Reference

#include <DebugCamera.h>

Inheritance diagram for DebugCamera:
Behaviour Component Object

List of all members.

Public Member Functions

void onKeyboard (const SDL_KeyboardEvent &event)
void onMouseMotion (const SDL_MouseMotionEvent &event)
void update ()

Detailed Description

A built-in behaviour used by the engine in debug mode for free flying in the scene.


Member Function Documentation

void DebugCamera::onKeyboard ( const SDL_KeyboardEvent &  event  )  [virtual]

Called by the engine on keyboard events. Override to implement keyboard controls.

Reimplemented from Behaviour.

void DebugCamera::onMouseMotion ( const SDL_MouseMotionEvent &  event  )  [virtual]

Called by the engine on mouse motion events. Override to implement mouse controls.

Reimplemented from Behaviour.

void DebugCamera::update (  )  [virtual]

Called by the engine once per frame. Override to implement physics.

Reimplemented from Behaviour.


The documentation for this class was generated from the following files:
 All Classes Functions Variables