bn_value_template_actions.h file

Value template actions header file.

Namespaces

namespace bn
Main Butano namespace.

Classes

template<typename Value, typename Property, class PropertyManager>
class bn::by_value_template_action
Modifies the property of a value by a given delta.
template<typename Value, typename Property, class PropertyManager>
class bn::cyclic_by_value_template_action
Modifies the property of a value by delta from a minimum to a maximum. When the property is over the given maximum, it goes back to the given minimum and vice versa.
template<typename Value, typename Property, class PropertyManager>
class bn::duration_by_value_template_action
Modifies the property of a value by delta when the action is updated a given number of times.
template<typename Value, typename Property, class PropertyManager>
class bn::cyclic_duration_by_value_template_action
Modifies the property of a value by delta when the action is updated a given number of times. When the property is over the given maximum, it goes back to the given minimum and vice versa.
template<typename Value, typename Property, class PropertyManager>
class bn::to_value_template_action
Modifies the property of a value until it has a given state.
template<typename Value, typename Property, class PropertyManager>
class bn::loop_value_template_action
Modifies the property of a value by delta from a minimum to a maximum. When the property is equal to the given final state, it goes back to its initial state and vice versa.
template<typename Value, typename Property, class PropertyManager>
class bn::toggle_value_template_action
Changes the property of a value when the action is updated a given number of times.
template<typename Value, class PropertyManager>
class bn::bool_toggle_value_template_action
Toggles a boolean property of a value when the action is updated a given number of times.