rumble_toggle_action class
#include <bn_rumble_actions.h>
Toggles if rumble must be enabled or not when the action is updated a given number of times.
Base classes
-
template<class PropertyManager>class bool_toggle_template_action<rumble_manager>
- Toggles a boolean property when the action is updated a given number of times.
Constructors, destructors, conversion operators
- rumble_toggle_action(int duration_updates) explicit
- Constructor.
Function documentation
bn:: rumble_toggle_action:: rumble_toggle_action(int duration_updates) explicit
Constructor.
| Parameters | |
|---|---|
| duration_updates | How many times the action has to be updated to toggle if rumble must be inverted or not. |