Debian Codegraph @

src/option/HelpInput.h

raw
1 #ifndef HEADER_HELPINPUT_H
2 #define HEADER_HELPINPUT_H
3
4 class GameState;
5
6 #include "StateInput.h"
7
8 /**
9 * Handle input for help screen.
10 */
11 class HelpInput : public StateInput {
12 protected:
13 virtual void enableHelp() { quitState(); }
14 virtual void enableMenu() { quitState(); }
15 virtual void specStroke(const KeyStroke &stroke);
16 public:
17 HelpInput(GameState *state);
18
19 virtual void mouseEvent(const MouseStroke &buttons);
20 };
21
22 #endif