#include <InputDeviceKeyboard.h>
Inheritance diagram for Engine::InputDeviceKeyboard:

Public Member Functions | |
| InputDeviceKeyboard () | |
| ~InputDeviceKeyboard () | |
| int | get_acceleration () |
| Get a number representing the acceleration or breaking. | |
| int | get_slide () |
| Sideways force . | |
| int | get_steering () |
| Stearing angle. | |
| void | poll () |
| Poll for events, if necessary. | |
Private Attributes | |
| bool | accelerate_down |
| bool | break_down |
| bool | steer_left_down |
| bool | steer_right_down |
| bool | slide_left_down |
| bool | slide_right_down |
Allow also WASD for the menu and arrow keys for steering.
Definition at line 31 of file InputDeviceKeyboard.h.
| Engine::InputDeviceKeyboard::InputDeviceKeyboard | ( | ) |
Definition at line 20 of file InputDeviceKeyboard.cpp.
| Engine::InputDeviceKeyboard::~InputDeviceKeyboard | ( | ) |
Definition at line 31 of file InputDeviceKeyboard.cpp.
| int Engine::InputDeviceKeyboard::get_acceleration | ( | ) | [virtual] |
Get a number representing the acceleration or breaking.
Implements Engine::InputDevice.
Definition at line 36 of file InputDeviceKeyboard.cpp.
| int Engine::InputDeviceKeyboard::get_slide | ( | ) | [virtual] |
Sideways force .
Implements Engine::InputDevice.
Definition at line 43 of file InputDeviceKeyboard.cpp.
| int Engine::InputDeviceKeyboard::get_steering | ( | ) | [virtual] |
Stearing angle.
Implements Engine::InputDevice.
Definition at line 50 of file InputDeviceKeyboard.cpp.
| void Engine::InputDeviceKeyboard::poll | ( | ) | [virtual] |
Poll for events, if necessary.
Reimplemented from Engine::InputDevice.
Definition at line 57 of file InputDeviceKeyboard.cpp.
bool Engine::InputDeviceKeyboard::accelerate_down [private] |
Definition at line 41 of file InputDeviceKeyboard.h.
bool Engine::InputDeviceKeyboard::break_down [private] |
Definition at line 41 of file InputDeviceKeyboard.h.
bool Engine::InputDeviceKeyboard::slide_left_down [private] |
Definition at line 41 of file InputDeviceKeyboard.h.
bool Engine::InputDeviceKeyboard::slide_right_down [private] |
Definition at line 41 of file InputDeviceKeyboard.h.
bool Engine::InputDeviceKeyboard::steer_left_down [private] |
Definition at line 41 of file InputDeviceKeyboard.h.
bool Engine::InputDeviceKeyboard::steer_right_down [private] |
Definition at line 41 of file InputDeviceKeyboard.h.
Generated at Mon Sep 6 00:41:17 2010 by Doxygen version 1.4.7 for Racer version svn335.