00001 #ifndef HEADER_MENUHELP_H 00002 #define HEADER_MENUHELP_H 00003 00004 class IWidget; 00005 00006 #include "GameState.h" 00007 #include "Drawable.h" 00008 00009 /** 00010 * Help screen. 00011 */ 00012 class MenuHelp : public GameState, public Drawable { 00013 private: 00014 IWidget *m_help; 00015 protected: 00016 virtual void own_initState(); 00017 virtual void own_updateState() {} 00018 virtual void own_pauseState() {} 00019 virtual void own_resumeState(); 00020 virtual void own_cleanState() {} 00021 public: 00022 MenuHelp(); 00023 virtual ~MenuHelp(); 00024 virtual const char *getName() const { return "state_help"; }; 00025 virtual bool allowBg() const { return true; } 00026 00027 virtual void drawOn(SDL_Surface *screen); 00028 }; 00029 00030 #endif