![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
#include <SystemMenu.h>
Public Member Functions | |
| SystemMenu () | |
| virtual | ~SystemMenu () |
| void | Activate () |
| void | Deactivate () |
| void | Toggle () |
| bool | IsActive () const |
| void | AddItem (const std::string &item) |
| void | RemoveItem (const std::string &item) |
| const std::vector< std::string > & | Items () const |
Static Public Member Functions | |
| static SystemMenu & | GetInstance () |
| static SystemMenu & | Get () |
Private Attributes | |
| std::string | name |
| bool | m_active = false |
| std::vector< std::string > | m_items |
Definition at line 12 of file SystemMenu.h.
|
inline |
Definition at line 15 of file SystemMenu.h.
References m_items, name, and SYSTEM_LOG.
|
inlinevirtual |
Definition at line 24 of file SystemMenu.h.
References SYSTEM_LOG.
| void SystemMenu::Activate | ( | ) |
Definition at line 12 of file SystemMenu.cpp.
References m_active, and SYSTEM_LOG.
Referenced by Toggle().
Here is the caller graph for this function:Definition at line 32 of file SystemMenu.cpp.
References GetComponentTypeID_Static(), and m_items.
Here is the call graph for this function:| void SystemMenu::Deactivate | ( | ) |
Definition at line 20 of file SystemMenu.cpp.
References m_active, and SYSTEM_LOG.
Referenced by Toggle().
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 30 of file SystemMenu.h.
References GetInstance().
Here is the call graph for this function:
|
static |
Definition at line 6 of file SystemMenu.cpp.
References GetComponentTypeID_Static().
Referenced by Get(), and GameEngine::Initialize().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 35 of file SystemMenu.h.
References m_active.
|
inline |
Definition at line 40 of file SystemMenu.h.
References m_items.
Definition at line 38 of file SystemMenu.cpp.
References GetComponentTypeID_Static(), and m_items.
Here is the call graph for this function:| void SystemMenu::Toggle | ( | ) |
Definition at line 27 of file SystemMenu.cpp.
References Activate(), Deactivate(), and m_active.
Here is the call graph for this function:Definition at line 44 of file SystemMenu.h.
Referenced by Activate(), Deactivate(), IsActive(), and Toggle().
|
private |
Definition at line 45 of file SystemMenu.h.
Referenced by AddItem(), Items(), RemoveItem(), and SystemMenu().
|
private |
Definition at line 43 of file SystemMenu.h.
Referenced by SystemMenu().