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

#include <key_state_map.hpp>

Public Member Functions

void clear ()
 
auto get_state (key_code key) const -> key_state
 
auto get_state (key_code key, const key_state default_state) const -> key_state
 
void set_state (key_code key, key_state state)
 
void update ()
 

Detailed Description

Definition at line 10 of file key_state_map.hpp.

Member Function Documentation

◆ clear()

void input::key_state_map::clear ( )
inline

Definition at line 15 of file key_state_map.hpp.

◆ get_state() [1/2]

auto input::key_state_map::get_state ( key_code key) const -> key_state
inline

Definition at line 20 of file key_state_map.hpp.

◆ get_state() [2/2]

auto input::key_state_map::get_state ( key_code key,
const key_state default_state ) const -> key_state
inline

Definition at line 25 of file key_state_map.hpp.

◆ set_state()

void input::key_state_map::set_state ( key_code key,
key_state state )
inline

Definition at line 36 of file key_state_map.hpp.

◆ update()

void input::key_state_map::update ( )
inline

Definition at line 51 of file key_state_map.hpp.


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