Definition at line 11 of file DemoInput.h.
Public Member Functions | |
DemoInput (GameState *demo) | |
Create demo input handler. | |
virtual void | mouseEvent (const MouseStroke &buttons) |
Protected Member Functions | |
virtual void | enableHelp () |
Push help screen at top. |
|
Create demo input handler. Escape, space or mouse click quit state.
Definition at line 21 of file DemoInput.cpp. 00022 : GameInput(demo) 00023 { 00024 KeyDesc key_quit(KEY_QUIT, "quit"); 00025 m_keymap->registerKey(KeyStroke(SDLK_SPACE, KMOD_NONE), key_quit); 00026 }
|
|
Push help screen at top.
Reimplemented from GameInput. Definition at line 13 of file DemoInput.h. 00013 {}
|
|
Reimplemented from InputHandler. Definition at line 29 of file DemoInput.cpp. 00030 { 00031 quitState(); 00032 }
|