Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members |
#include <StateMenu.hpp>
Public Member Functions | |
virtual void | Clear (GameManager *pManager)=0 |
Called when state leaves. | |
virtual void | Init (GameManager *pManager)=0 |
Called when state enters. | |
virtual void | OnEvent (GameManager *pManager)=0 |
Called if an event happened. | |
virtual void | Update (GameManager *pManager)=0 |
Called each game iteration. | |
virtual | ~StateMenu () |
Destructor. | |
Protected Member Functions | |
virtual void | addMenuItem (SButton *MenuItem) |
virtual array< SButton * > | getMenuItems () const |
virtual bool | isVisible () const |
virtual bool | OnMouseOver (GameManager *pManager) |
virtual void | renderMenu (GameManager *pManager) |
virtual void | ResetButtons (GameManager *pManager) |
virtual void | setOnMouseOverColor (SColor color) |
virtual void | setResetColor (SColor color) |
virtual void | setVisible (bool visible) |
StateMenu () | |
virtual void | UnloadMenuItem (u32 Index) |
virtual void | UnloadMenuItems () |
Private Attributes | |
array< SButton * > | m_aMenuItems |
bool | m_IsVisible |
SColor | m_OnMouseOver |
SColor | m_ResetColor |
Classes | |
struct | SButton |
Definition at line 16 of file StateMenu.hpp.
virtual nge::game::StateMenu::~StateMenu | ( | ) | [virtual] |
Destructor.
nge::game::StateMenu::StateMenu | ( | ) | [protected] |
virtual void nge::game::StateMenu::addMenuItem | ( | SButton * | MenuItem | ) | [protected, virtual] |
virtual void nge::game::StateMenu::Clear | ( | GameManager * | pManager | ) | [pure virtual] |
virtual array<SButton*> nge::game::StateMenu::getMenuItems | ( | ) | const [protected, virtual] |
virtual void nge::game::StateMenu::Init | ( | GameManager * | pManager | ) | [pure virtual] |
virtual bool nge::game::StateMenu::isVisible | ( | ) | const [protected, virtual] |
virtual void nge::game::StateMenu::OnEvent | ( | GameManager * | pManager | ) | [pure virtual] |
virtual bool nge::game::StateMenu::OnMouseOver | ( | GameManager * | pManager | ) | [protected, virtual] |
virtual void nge::game::StateMenu::renderMenu | ( | GameManager * | pManager | ) | [protected, virtual] |
virtual void nge::game::StateMenu::ResetButtons | ( | GameManager * | pManager | ) | [protected, virtual] |
virtual void nge::game::StateMenu::setOnMouseOverColor | ( | SColor | color | ) | [protected, virtual] |
virtual void nge::game::StateMenu::setResetColor | ( | SColor | color | ) | [protected, virtual] |
virtual void nge::game::StateMenu::setVisible | ( | bool | visible | ) | [protected, virtual] |
virtual void nge::game::StateMenu::UnloadMenuItem | ( | u32 | Index | ) | [protected, virtual] |
virtual void nge::game::StateMenu::UnloadMenuItems | ( | ) | [protected, virtual] |
virtual void nge::game::StateMenu::Update | ( | GameManager * | pManager | ) | [pure virtual] |
array<SButton*> nge::game::StateMenu::m_aMenuItems [private] |
Definition at line 51 of file StateMenu.hpp.
bool nge::game::StateMenu::m_IsVisible [private] |
Definition at line 52 of file StateMenu.hpp.
SColor nge::game::StateMenu::m_OnMouseOver [private] |
Definition at line 54 of file StateMenu.hpp.
SColor nge::game::StateMenu::m_ResetColor [private] |
Definition at line 55 of file StateMenu.hpp.
The NUSoftware Game Engine Documentation © 2007-2008 by Tomer Nosrati. Generated
on Sat Apr 26 16:52:36 2008 by Doxygen
(1.5.5) |