class
#include <bn_music_actions.h>
music_tempo_toggle_action Changes the tempo of the active Direct Sound music when the action is updated a given number of times.
Base classes
-
template<typename Property, class PropertyManager>class toggle_template_action<fixed, music_tempo_manager>
- Changes the property when the action is updated a given number of times.
Constructors, destructors, conversion operators
- music_tempo_toggle_action(int duration_updates, fixed new_tempo)
- Constructor.
Public functions
Function documentation
bn:: music_tempo_toggle_action:: music_tempo_toggle_action(int duration_updates,
fixed new_tempo)
Constructor.
Parameters | |
---|---|
duration_updates | How much times the action has to be updated to change the tempo. |
new_tempo | New tempo when the action is updated duration_updates times. |
This tempo must be in the range [0.5..2].