00001 #ifndef HEADER_HELPINPUT_H 00002 #define HEADER_HELPINPUT_H 00003 00004 class GameState; 00005 00006 #include "StateInput.h" 00007 00008 /** 00009 * Handle input for help screen. 00010 */ 00011 class HelpInput : public StateInput { 00012 protected: 00013 virtual void enableHelp() { quitState(); } 00014 virtual void enableMenu() { quitState(); } 00015 virtual void specStroke(const KeyStroke &stroke); 00016 public: 00017 HelpInput(GameState *state); 00018 00019 virtual void mouseEvent(const MouseStroke &buttons); 00020 }; 00021 00022 #endif