bn::sprites_visible_toggle_action class

Toggles if the sprite layer must be shown or not when the action is updated a given number of times.

Base classes

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

Constructors, destructors, conversion operators

sprites_visible_toggle_action(int duration_updates) explicit
Constructor.

Function documentation

bn::sprites_visible_toggle_action::sprites_visible_toggle_action(int duration_updates) explicit

Constructor.

Parameters
duration_updates How much times the action has to be updated to toggle if the sprite layer must be shown or not.