bn_template_actions.h file

Template actions header file.

Namespaces

namespace bn
Main Butano namespace.

Classes

template<typename Property, class PropertyManager>
class bn::by_template_action
Modifies a property by a given delta.
template<typename Property, class PropertyManager>
class bn::cyclic_by_template_action
Modifies the property 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 Property, class PropertyManager>
class bn::duration_by_template_action
Modifies the property by delta when the action is updated a given number of times.
template<typename Property, class PropertyManager>
class bn::cyclic_duration_by_template_action
Modifies the property 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 Property, class PropertyManager>
class bn::to_template_action
Modifies the property until it has a given state.
template<typename Property, class PropertyManager>
class bn::loop_template_action
Modifies the property 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 Property, class PropertyManager>
class bn::toggle_template_action
Changes the property when the action is updated a given number of times.
template<class PropertyManager>
class bn::bool_toggle_template_action
Toggles a boolean property when the action is updated a given number of times.