#include <bn_template_actions.h>
template<typename Property, class PropertyManager>
by_template_action class
Modifies a property by a given delta.
Template parameters | |
---|---|
Property | Property to modify. |
PropertyManager | Reads and writes the property to modify. |
Constructors, destructors, conversion operators
- by_template_action(const Property& delta_property) protected explicit
- Constructor.
Public functions
Protected functions
- auto delta_property() const -> const Property&
- Returns how much to add to the property when the action is updated.
Function documentation
template<typename Property, class PropertyManager>
bn:: by_template_action<Property, PropertyManager>:: by_template_action(const Property& delta_property) explicit protected
Constructor.
Parameters | |
---|---|
delta_property | How much to add to the property when the action is updated. |