00001 // --------------------------------------------------------------------------- 00002 // PLATFORM: All - 00003 // PRODUCT: Fourplay - 00004 // VISIBILITY: Public - 00005 // --------------------------------------------------------------------------- 00006 // - 00007 // PURPOSE: Difficulty selection menu for the game. - 00008 // - 00009 // --------------------------------------------------------------------------- 00010 00011 #ifndef DIFFICULTYMENU_H 00012 #define DIFFICULTYMENU_H 00013 00014 #include "Iw2D.h" 00015 #include "input.h" 00016 #include "Menu.h" 00017 #include "CollisionManager.h" 00018 #include "IwGx.h" 00019 00025 class DifficultyMenu : public Menu 00026 { 00027 public: 00031 DifficultyMenu(); 00032 00036 ~DifficultyMenu() override; 00037 00042 int Update(); 00043 00047 void Draw() override; 00048 00049 protected: 00051 CIw2DImage *m_background; 00052 00054 CIw2DImage *m_easyButton; 00055 00057 CIw2DImage *m_mediumButton; 00058 00060 CIw2DImage *m_hardButton; 00061 00063 CIwFVec2 m_backgroundPos; 00064 00066 CIwFVec2 m_easyButtonPos; 00067 00069 CIwFVec2 m_mediumButtonPos; 00070 00072 CIwFVec2 m_hardButtonPos; 00073 00075 CIwFVec2 m_buttonDimensions; 00076 00078 bool m_easyHighlighted; 00079 00081 bool m_mediumHighlighted; 00082 00084 bool m_hardHighlighted; 00085 }; 00086 00087 #endif