bn::palette_bitmap_bg_vertical_flip_toggle_action class

Toggles if a palette_bitmap_bg_ptr must be flipped in the vertical axis or not when the action is updated a given number of times.

Base classes

template<typename Value, class PropertyManager>
class bool_toggle_value_template_action<palette_bitmap_bg_ptr, palette_bitmap_bg_vertical_flip_manager>
Toggles a boolean property of a value when the action is updated a given number of times.

Constructors, destructors, conversion operators

palette_bitmap_bg_vertical_flip_toggle_action(const palette_bitmap_bg_ptr& bg, int duration_updates)
Constructor.
palette_bitmap_bg_vertical_flip_toggle_action(palette_bitmap_bg_ptr&& bg, int duration_updates)
Constructor.

Public functions

auto bg() const -> const palette_bitmap_bg_ptr&
Returns the palette_bitmap_bg_ptr to modify.

Function documentation

bn::palette_bitmap_bg_vertical_flip_toggle_action::palette_bitmap_bg_vertical_flip_toggle_action(const palette_bitmap_bg_ptr& bg, int duration_updates)

Constructor.

Parameters
bg palette_bitmap_bg_ptr to copy.
duration_updates How many times the action has to be updated to toggle if the given palette_bitmap_bg_ptr must be flipped in the vertical axis or not.

bn::palette_bitmap_bg_vertical_flip_toggle_action::palette_bitmap_bg_vertical_flip_toggle_action(palette_bitmap_bg_ptr&& bg, int duration_updates)

Constructor.

Parameters
bg palette_bitmap_bg_ptr to move.
duration_updates How many times the action has to be updated to toggle if the given palette_bitmap_bg_ptr must be flipped in the vertical axis or not.