00001 // --------------------------------------------------------------------------- 00002 // PLATFORM: All - 00003 // PRODUCT: Fourplay - 00004 // VISIBILITY: Public - 00005 // --------------------------------------------------------------------------- 00006 // - 00007 // PURPOSE: Main menu for the game. - 00008 // - 00009 // --------------------------------------------------------------------------- 00010 00011 #ifndef PAUSEMENU_H 00012 #define PAUSEMENU_H 00013 00014 #include "Iw2D.h" 00015 #include "IwGx.h" 00016 #include "Input.h" 00017 #include "CollisionManager.h" 00018 00024 class PauseMenu 00025 { 00026 public: 00030 PauseMenu(); 00031 00035 ~PauseMenu(); 00036 00041 int Update(); 00042 00046 void Draw(); 00047 00048 protected: 00050 CIwFVec2 m_position; 00051 00053 CIw2DImage *m_background; 00054 00056 CIw2DImage *m_quitButton; 00057 00059 CIw2DImage *m_restartButton; 00060 00062 CIw2DImage *m_resumeButton; 00063 00065 CIwFVec2 m_quitButtonPosition; 00066 00068 CIwFVec2 m_restartButtonPosition; 00069 00071 CIwFVec2 m_resumeButtonPosition; 00072 00074 CIwFVec2 m_buttonDimensions; 00075 }; 00076 00077 #endif