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

Class representing a debug menu item. More...

#include <debug_menu.h>

+ Inheritance diagram for BlamDebugMenuItem:

Public Member Functions

 BlamDebugMenuItem (BlamDebugMenuItemType _type)
 Creates a new debug menu item. More...
 
BlamDebugMenuItemType GetType ()
 Retrieves the type of the debug menu item. More...
 
virtual void Activate ()
 Called when the menu item is active and the enter key is pressed. 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 title = ""
 The title of the debug menu item as shown in the menu. More...
 

Detailed Description

Class representing a debug menu item.

Constructor & Destructor Documentation

◆ BlamDebugMenuItem()

BlamDebugMenuItem::BlamDebugMenuItem ( BlamDebugMenuItemType  _type)

Creates a new debug menu item.

Parameters
_type- The type of the newly created item.

Member Function Documentation

◆ Activate()

virtual void BlamDebugMenuItem::Activate ( )
inlinevirtual

Called when the menu item is active and the enter key is pressed.

Reimplemented in BlamDebugMenuItem_Global, BlamDebugMenuItem_CommandSequence, and BlamDebugMenuItem_Command.

+ Here is the caller graph for this function:

◆ Decrement()

virtual void BlamDebugMenuItem::Decrement ( )
inlinevirtual

Called when the menu item is active and the left arrow key is pressed.

Reimplemented in BlamDebugMenuItem_Global.

+ Here is the caller graph for this function:

◆ GetType()

BlamDebugMenuItemType BlamDebugMenuItem::GetType ( )

Retrieves the type of the debug menu item.

Returns
The menu item type.
+ Here is the caller graph for this function:

◆ Increment()

virtual void BlamDebugMenuItem::Increment ( )
inlinevirtual

Called when the menu item is active and the right arrow key is pressed.

Reimplemented in BlamDebugMenuItem_Global.

+ Here is the caller graph for this function:

Member Data Documentation

◆ title

std::string BlamDebugMenuItem::title = ""

The title of the debug menu item as shown in the menu.


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