Doxygen Samurai Engine 0.0.1
Doxygen Samurai Engine Documentation
Loading...
Searching...
No Matches
samurai::ShortcutManager Struct Reference

#include <shortcutApi.h>

Collaboration diagram for samurai::ShortcutManager:
Collaboration graph

Classes

struct  Shortcut
 

Public Member Functions

void update (const samurai::Input &input)
 
bool registerShortcut (const char *name, const char *s, bool *toggle, bool editable=1)
 
const char * getShortcut (const char *name)
 

Public Attributes

std::unordered_map< std::string, ShortcutregisteredShortcuts
 

Detailed Description

Definition at line 11 of file shortcutApi.h.

Member Function Documentation

◆ getShortcut()

const char * samurai::ShortcutManager::getShortcut ( const char * name)

Definition at line 232 of file shortcutApi.cpp.

Here is the caller graph for this function:

◆ registerShortcut()

bool samurai::ShortcutManager::registerShortcut ( const char * name,
const char * s,
bool * toggle,
bool editable = 1 )

Definition at line 215 of file shortcutApi.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ update()

void samurai::ShortcutManager::update ( const samurai::Input & input)

Definition at line 203 of file shortcutApi.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ registeredShortcuts

std::unordered_map<std::string, Shortcut> samurai::ShortcutManager::registeredShortcuts

Definition at line 22 of file shortcutApi.h.


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