Elaztek Developer Hub
Blamite Game Engine - blam!  00423.10.27.24.0533.blamite
The core library for the Blamite Game Engine.
BlamDebugMenuItem_Command Class Reference

Class representing a command debug menu item. More...

#include <debug_menu.h>

+ Inheritance diagram for BlamDebugMenuItem_Command:
+ Collaboration diagram for BlamDebugMenuItem_Command:

Public Member Functions

 BlamDebugMenuItem_Command ()
 
void Activate () override
 Called when the menu item is active and the enter 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...
 
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...
 
- Public Attributes inherited from BlamDebugMenuItem
std::string title = ""
 The title of the debug menu item as shown in the menu. More...
 

Detailed Description

Class representing a command debug menu item.

Command items are used to simply execute a command upon activation.

Constructor & Destructor Documentation

◆ BlamDebugMenuItem_Command()

BlamDebugMenuItem_Command::BlamDebugMenuItem_Command ( )

Member Function Documentation

◆ Activate()

void BlamDebugMenuItem_Command::Activate ( )
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.

+ Here is the call graph for this function:

Member Data Documentation

◆ command

std::string BlamDebugMenuItem_Command::command = ""

The command to run upon activation.


The documentation for this class was generated from the following files: