Tramway SDK
Public Member Functions | Protected Attributes | List of all members
tram::Ext::Menu::EntityPicker Class Reference

#include <debug.h>

Inheritance diagram for tram::Ext::Menu::EntityPicker:
tram::Ext::Menu::Menu

Public Member Functions

 EntityPicker (std::function< void(id_t)> callback)
 
uint32_t Layer ()
 
void Display ()
 
 ~EntityPicker ()=default
 
- Public Member Functions inherited from tram::Ext::Menu::Menu
virtual ~Menu ()=default
 

Protected Attributes

std::function< void(id_t)> callback
 

Additional Inherited Members

- Static Public Member Functions inherited from tram::Ext::Menu::Menu
static void Push (Menu *)
 
static bool Pop ()
 
static bool Empty ()
 
static void Clear ()
 
static void Add (Menu *)
 
static void Remove (Menu *)
 

Constructor & Destructor Documentation

◆ EntityPicker()

tram::Ext::Menu::EntityPicker::EntityPicker ( std::function< void(id_t)>  callback)

◆ ~EntityPicker()

tram::Ext::Menu::EntityPicker::~EntityPicker ( )
default

Member Function Documentation

◆ Display()

void tram::Ext::Menu::EntityPicker::Display ( )
virtual

Implements tram::Ext::Menu::Menu.

◆ Layer()

uint32_t tram::Ext::Menu::EntityPicker::Layer ( )
inlinevirtual

Implements tram::Ext::Menu::Menu.

Member Data Documentation

◆ callback

std::function<void(id_t)> tram::Ext::Menu::EntityPicker::callback
protected

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