A physical control.
More...
#include <gf/Control.h>
virtual gf::Control::~Control |
( |
| ) |
|
|
virtual |
bool gf::Control::isActive |
( |
| ) |
|
|
inline |
Check if the control is active.
- Returns
- true if the control is active.
- See also
- Action::isActive()
virtual void gf::Control::processEvent |
( |
const Event & |
event | ) |
|
|
pure virtual |
void gf::Control::reset |
( |
| ) |
|
|
inline |
Desactivate the control.
This call is equivalent to:
- See also
- Action::reset()
void gf::Control::setActive |
( |
bool |
active = true | ) |
|
|
inline |
Change the active state of the control.
- Parameters
-
active | The new state of the control. |