#include <Input.h>
Collaboration diagram for Input:
Public Member Functions | |
Input (void) | |
Input (Scene *) | |
void | HandleInput (void) |
~Input (void) | |
Public Attributes | |
Scene * | myScene |
int | position |
bool | terminate |
bool | wPressed |
bool | aPressed |
bool | sPressed |
bool | dPressed |
bool | qPressed |
bool | ePressed |
bool | f1Pressed |
bool | f2Pressed |
bool | f3Pressed |
bool | f5Pressed |
bool | f7Pressed |
bool | f10Pressed |
bool | f11Pressed |
bool | props |
bool | upKeyDown |
bool | upPressed |
bool | downPressed |
bool | returnPressed |
bool | returnKeyDown |
bool | pause |
bool | mouseMotion |
bool | mouseButton |
bool | menu |
bool | firstStart |
SDL_Event | event |
Private Member Functions | |
void | Reset (void) |
void | Enter_name (void) |
Private Attributes | |
float | rotX |
float | rotY |
bool | leftPressed |
bool | rightPressed |
bool | downKeyDown |
bool | spacePressed |
bool | pressed |
bool | halt |
Input::Input | ( | void | ) |
default constructor for the input
Input::Input | ( | Scene * | mySceneIn | ) |
constructor for the input with the scene object
Input::~Input | ( | void | ) |
input destructor
void Input::HandleInput | ( | void | ) |
handling mouse and keyboard input
void Input::Reset | ( | void | ) | [private] |
resetting the input logic
void Input::Enter_name | ( | void | ) | [private] |
method for entering a highscore name
int Input::position |
bool Input::terminate |
bool Input::wPressed |
bool Input::aPressed |
bool Input::sPressed |
bool Input::dPressed |
bool Input::qPressed |
bool Input::ePressed |
bool Input::f1Pressed |
bool Input::f2Pressed |
bool Input::f3Pressed |
bool Input::f5Pressed |
bool Input::f7Pressed |
bool Input::f10Pressed |
bool Input::f11Pressed |
bool Input::props |
bool Input::upKeyDown |
bool Input::upPressed |
bool Input::downPressed |
bool Input::returnPressed |
bool Input::returnKeyDown |
bool Input::pause |
bool Input::mouseMotion |
bool Input::mouseButton |
bool Input::menu |
bool Input::firstStart |
SDL_Event Input::event |
float Input::rotX [private] |
float Input::rotY [private] |
bool Input::leftPressed [private] |
bool Input::rightPressed [private] |
bool Input::downKeyDown [private] |
bool Input::spacePressed [private] |
bool Input::pressed [private] |
bool Input::halt [private] |