|
Crazy Eddie's GUI System
${CEGUI_VERSION}
|
Inheritance diagram for MinesweeperSample:
Collaboration diagram for MinesweeperSample:Public Member Functions | |
| virtual bool | initialise (CEGUI::GUIContext *guiContext) |
| virtual void | deinitialise () |
Public Member Functions inherited from Sample | |
| virtual void | onEnteringSample () |
| virtual void | update (float timeSinceLastUpdate) |
| const CEGUI::String & | getUsedFilesString () |
Protected Member Functions | |
| bool | handleGameStartClicked (const CEGUI::EventArgs &event) |
| bool | handleMineButtonClicked (const CEGUI::EventArgs &event) |
| bool | handleMineButtonDown (const CEGUI::EventArgs &event) |
| bool | handleUpdateTimer (const CEGUI::EventArgs &event) |
| void | boardReset () |
| void | boardPositionMines () |
| bool | isGameWin () |
| void | gameEnd (bool victory) |
| bool | boardDiscover (const Location &location) |
Protected Attributes | |
| CEGUI::PushButton * | d_buttons [MinesweeperSize][MinesweeperSize] |
| Location | d_buttonsMapping [MinesweeperSize][MinesweeperSize] |
| size_t | d_board [MinesweeperSize][MinesweeperSize] |
| size_t | d_boardCellDiscovered |
| CEGUI::Editbox * | d_counter |
| CEGUI::Editbox * | d_timer |
| CEGUI::Window * | d_result |
| bool | d_gameStarted |
| clock_t | d_timerStartTime |
| clock_t | d_timerValue |
| Timer * | d_alarm |
Protected Attributes inherited from Sample | |
| CEGUI::String | d_usedFiles |