![]() |
Blamite Game Engine - blam!
00423.10.27.24.0533.blamite
The core library for the Blamite Game Engine.
|
Class representing a command debug menu item. More...
#include <debug_menu.h>
Public Member Functions | |
BlamDebugMenuItem_Command () | |
void | Activate () override |
Called when the menu item is active and the enter key is pressed. More... | |
![]() | |
BlamDebugMenuItem (BlamDebugMenuItemType _type) | |
Creates a new debug menu item. More... | |
BlamDebugMenuItemType | GetType () |
Retrieves the type of the debug menu item. More... | |
virtual void | Decrement () |
Called when the menu item is active and the left arrow key is pressed. More... | |
virtual void | Increment () |
Called when the menu item is active and the right arrow key is pressed. More... | |
Public Attributes | |
std::string | command = "" |
The command to run upon activation. More... | |
![]() | |
std::string | title = "" |
The title of the debug menu item as shown in the menu. More... | |
Class representing a command debug menu item.
Command items are used to simply execute a command upon activation.
BlamDebugMenuItem_Command::BlamDebugMenuItem_Command | ( | ) |
|
overridevirtual |
Called when the menu item is active and the enter key is pressed.
For commands, this will execute the command associated with this item.
Reimplemented from BlamDebugMenuItem.
std::string BlamDebugMenuItem_Command::command = "" |
The command to run upon activation.