Provides controller input interface for a physical objects (for example, playable characters) More...
#include <controllable_object.h>
Public Member Functions | |
| ControllableObject () | |
| Constructor. | |
| void | applyControls (controller_keys sentkeys) |
| Input slot which accepts control key states map from a controller. More... | |
| void | resetControls () |
| Sets all key states into "unpressed" state. | |
Protected Attributes | |
| controller_keys | keys |
| Recently accepted control key states. | |
Provides controller input interface for a physical objects (for example, playable characters)
| void ControllableObject::applyControls | ( | controller_keys | sentkeys | ) |
Input slot which accepts control key states map from a controller.
| Control | key states map structure |
1.8.7