![]() |
API documentation
2.0rc1
|
#include <clientlib.h>
Inherits client::Object.
Public Member Functions | |
bool | get_pressed () |
bool | get_touched () |
double | get_value () |
GamepadButton * | get_prototype () |
void | set_prototype (GamepadButton *) |
GamepadButton () | |
![]() | |
Object () | |
template<typename T > | |
T | valueOf () |
operator double () const | |
Object * | operator[] (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) |
client::GamepadButton::GamepadButton | ( | ) |
bool client::GamepadButton::get_pressed | ( | ) |
GamepadButton* client::GamepadButton::get_prototype | ( | ) |
bool client::GamepadButton::get_touched | ( | ) |
double client::GamepadButton::get_value | ( | ) |
void client::GamepadButton::set_prototype | ( | GamepadButton * | ) |