Unravel Engine C++ Reference
Loading...
Searching...
No Matches
input::button_state_map Class Reference

#include <button_state_map.hpp>

Public Member Functions

void clear ()
 
auto get_state (uint32_t button) const -> button_state
 
auto get_state (uint32_t button, const button_state default_state) const -> button_state
 
void set_state (uint32_t button, button_state state)
 
void update ()
 

Detailed Description

Definition at line 9 of file button_state_map.hpp.

Member Function Documentation

◆ clear()

void input::button_state_map::clear ( )
inline

Definition at line 14 of file button_state_map.hpp.

◆ get_state() [1/2]

auto input::button_state_map::get_state ( uint32_t button) const -> button_state
inline

Definition at line 19 of file button_state_map.hpp.

◆ get_state() [2/2]

auto input::button_state_map::get_state ( uint32_t button,
const button_state default_state ) const -> button_state
inline

Definition at line 24 of file button_state_map.hpp.

◆ set_state()

void input::button_state_map::set_state ( uint32_t button,
button_state state )
inline

Definition at line 35 of file button_state_map.hpp.

◆ update()

void input::button_state_map::update ( )
inline

Definition at line 50 of file button_state_map.hpp.


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