le2d v0.4.7
2D game engine framework
 
Loading...
Searching...
No Matches
le::input::action::Value Class Reference

Value associated with an action callback. More...

#include <le2d/input/action_types.hpp>

Public Member Functions

 Value ()=default
 
 explicit (false) Value(bool const digital)
 
 explicit (false) Value(float const axis_1d)
 
 explicit (false) Value(glm
 
template<ValueTypeT Type>
auto get () const -> Type
 

Detailed Description

Value associated with an action callback.

Constructor & Destructor Documentation

◆ Value()

le::input::action::Value::Value ( )
default

Member Function Documentation

◆ explicit() [1/3]

le::input::action::Value::explicit ( false  ) const
inline

◆ explicit() [2/3]

le::input::action::Value::explicit ( false  ) const
inline

◆ explicit() [3/3]

le::input::action::Value::explicit ( false  )
inline

◆ get()

template<ValueTypeT Type>
auto le::input::action::Value::get ( ) const -> Type
inline
Returns
Value as Type.

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