bn::sprite_palettes_inverted_toggle_action class

Toggles if the colors of all sprite color palettes must be inverted or not when the action is updated a given number of times.

Base classes

template<class PropertyManager>
class bool_toggle_template_action<sprite_palettes_inverted_manager>
Toggles a boolean property when the action is updated a given number of times.

Constructors, destructors, conversion operators

sprite_palettes_inverted_toggle_action(int duration_updates) explicit
Constructor.

Function documentation

bn::sprite_palettes_inverted_toggle_action::sprite_palettes_inverted_toggle_action(int duration_updates) explicit

Constructor.

Parameters
duration_updates How much times the action has to be updated to toggle if the colors of all sprite color palettes must be inverted or not.