API documentation  2.0rc1
Public Member Functions | List of all members
client::GamepadButton Class Reference

#include <clientlib.h>

Inherits client::Object.

Public Member Functions

bool get_pressed ()
 
bool get_touched ()
 
double get_value ()
 
GamepadButtonget_prototype ()
 
void set_prototype (GamepadButton *)
 
 GamepadButton ()
 
- Public Member Functions inherited from client::Object
 Object ()
 
template<typename T >
valueOf ()
 
 operator double () const
 
Objectoperator[] (const client::String &name) const
 
void set_ (const client::String &name, Object *v)
 
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type>
void set_ (const client::String &name, T v)
 
bool hasOwnProperty (const client::String &name)
 

Constructor & Destructor Documentation

◆ GamepadButton()

client::GamepadButton::GamepadButton ( )

Member Function Documentation

◆ get_pressed()

bool client::GamepadButton::get_pressed ( )

◆ get_prototype()

GamepadButton* client::GamepadButton::get_prototype ( )

◆ get_touched()

bool client::GamepadButton::get_touched ( )

◆ get_value()

double client::GamepadButton::get_value ( )

◆ set_prototype()

void client::GamepadButton::set_prototype ( GamepadButton )