class
#include <bn_sprite_affine_mat_actions.h>
sprite_affine_mat_vertical_flip_toggle_action Toggles if a sprite_
Base classes
-
template<typename Value, class PropertyManager>class bool_toggle_value_template_action<sprite_affine_mat_ptr, sprite_affine_mat_vertical_flip_manager>
- Toggles a boolean property of a value when the action is updated a given number of times.
Constructors, destructors, conversion operators
-
sprite_affine_mat_vertical_flip_toggle_action(const sprite_
affine_ mat_ ptr& affine_mat, int duration_updates) - Constructor.
-
sprite_affine_mat_vertical_flip_toggle_action(sprite_
affine_ mat_ ptr&& affine_mat, int duration_updates) - Constructor.
Public functions
-
auto affine_mat() const -> const sprite_
affine_ mat_ ptr& - Returns the sprite_
affine_ mat_ ptr to modify.
Function documentation
bn:: sprite_affine_mat_vertical_flip_toggle_action:: sprite_affine_mat_vertical_flip_toggle_action(const sprite_ affine_ mat_ ptr& affine_mat,
int duration_updates)
Constructor.
Parameters | |
---|---|
affine_mat | sprite_ |
duration_updates | How many times the action has to be updated to toggle if the given sprite_ |
bn:: sprite_affine_mat_vertical_flip_toggle_action:: sprite_affine_mat_vertical_flip_toggle_action(sprite_ affine_ mat_ ptr&& affine_mat,
int duration_updates)
Constructor.
Parameters | |
---|---|
affine_mat | sprite_ |
duration_updates | How many times the action has to be updated to toggle if the given sprite_ |