#include <PauseMenu.h>
Inheritance diagram for UI::PauseMenu:
Public Types | |
R_NONE | |
No action confirmed yet. | |
R_CONTINUE | |
Continue the game. | |
R_QUIT | |
Quit the game. | |
enum | Response { R_NONE, R_CONTINUE, R_QUIT } |
User's choice on the pause menu. More... | |
Public Member Functions | |
PauseMenu () | |
void | set_response (Response response) |
Set the response to the given action. | |
Response | get_response () const |
Return the user's choosen action. | |
void | reset () |
Reset the response so the menu can be used again. | |
Protected Attributes | |
ContinueButton | m_continue_item |
QuitButton | m_quit_item |
Response | m_response |
Definition at line 45 of file PauseMenu.h.
UI::PauseMenu::PauseMenu | ( | ) |
Definition at line 40 of file PauseMenu.cpp.
PauseMenu::Response UI::PauseMenu::get_response | ( | ) | const |
void UI::PauseMenu::reset | ( | ) |
void UI::PauseMenu::set_response | ( | Response | response | ) |
ContinueButton UI::PauseMenu::m_continue_item [protected] |
Definition at line 65 of file PauseMenu.h.
QuitButton UI::PauseMenu::m_quit_item [protected] |
Definition at line 66 of file PauseMenu.h.
Response UI::PauseMenu::m_response [protected] |
Definition at line 67 of file PauseMenu.h.
Generated at Mon Sep 6 00:41:19 2010 by Doxygen version 1.4.7 for Racer version svn335.