![]() |
Blamite Game Engine - blam!
00453.06.08.26.0624.blamite
The core library for the Blamite Game Engine.
|
Class representing a global debug menu item. More...
#include <debug_menu.h>
Inheritance diagram for BlamDebugMenuItem_Global:
Collaboration diagram for BlamDebugMenuItem_Global:Public Member Functions | |
| BlamDebugMenuItem_Global () | |
| void | Activate () override |
| Called when the menu item is active and the enter key is pressed. More... | |
| void | Decrement () override |
| Called when the menu item is active and the left arrow key is pressed. More... | |
| void | Increment () override |
| Called when the menu item is active and the right arrow key is pressed. More... | |
Public Member Functions inherited from BlamDebugMenuItem | |
| BlamDebugMenuItem (BlamDebugMenuItemType _type) | |
| Creates a new debug menu item. More... | |
| BlamDebugMenuItemType | GetType () |
| Retrieves the type of the debug menu item. More... | |
Public Attributes | |
| std::string | global_id = "" |
| The ID of the engine global to update. More... | |
| bool | use_bounds = false |
| Whether or not the min/max bounds should be used. More... | |
| double | inc = 1 |
| The amount to increase or decrease the global value by when incrementing or decrementing. More... | |
| double | min = 0 |
| The minimum value of the global. More... | |
| double | max = 0 |
| The maximum value of the global. More... | |
Public Attributes inherited from BlamDebugMenuItem | |
| std::string | title = "" |
| The title of the debug menu item as shown in the menu. More... | |
Class representing a global debug menu item.
Global items are used to directly modify the value of an engine global.
| BlamDebugMenuItem_Global::BlamDebugMenuItem_Global | ( | ) |
|
overridevirtual |
Called when the menu item is active and the enter key is pressed.
For globals, this will increase the global's value by inc.
Reimplemented from BlamDebugMenuItem.
Here is the call graph for this function:
|
overridevirtual |
Called when the menu item is active and the left arrow key is pressed.
For globals, this will decrease the global's value by inc.
Reimplemented from BlamDebugMenuItem.
Here is the call graph for this function:
|
overridevirtual |
Called when the menu item is active and the right arrow key is pressed.
For globals, this will increase the global's value by inc.
Reimplemented from BlamDebugMenuItem.
Here is the call graph for this function:
Here is the caller graph for this function:| std::string BlamDebugMenuItem_Global::global_id = "" |
The ID of the engine global to update.
| double BlamDebugMenuItem_Global::inc = 1 |
The amount to increase or decrease the global value by when incrementing or decrementing.
| double BlamDebugMenuItem_Global::max = 0 |
The maximum value of the global.
| double BlamDebugMenuItem_Global::min = 0 |
The minimum value of the global.
| bool BlamDebugMenuItem_Global::use_bounds = false |
Whether or not the min/max bounds should be used.