#include <bn_regular_bg_animate_actions.h>
template<int MaxSize>
regular_bg_animate_action class
Changes the map of a regular_
Template parameters | |
---|---|
MaxSize | Maximum number of indexes to maps to store. |
Each time the map of a regular_
Base classes
- class iregular_bg_animate_action
- Base class of bn::
regular_bg_animate_action.
Public static functions
-
static auto once(const regular_
bg_ ptr& regular_bg, int wait_updates, const regular_ bg_ map_ item& map_item, const span<const uint16_t>& map_indexes) -> regular_ bg_ animate_ action - Generates a regular_
bg_ animate_ action which loops over the given regular_bg maps only once. -
static auto once(regular_
bg_ ptr&& regular_bg, int wait_updates, const regular_ bg_ map_ item& map_item, const span<const uint16_t>& map_indexes) -> regular_ bg_ animate_ action - Generates a regular_
bg_ animate_ action which loops over the given regular_bg maps only once. -
static auto forever(const regular_
bg_ ptr& regular_bg, int wait_updates, const regular_ bg_ map_ item& map_item, const span<const uint16_t>& map_indexes) -> regular_ bg_ animate_ action - Generates a regular_
bg_ animate_ action which loops over the given regular_bg maps forever. -
static auto forever(regular_
bg_ ptr&& regular_bg, int wait_updates, const regular_ bg_ map_ item& map_item, const span<const uint16_t>& map_indexes) -> regular_ bg_ animate_ action - Generates a regular_
bg_ animate_ action which loops over the given regular_bg maps forever.
Constructors, destructors, conversion operators
-
regular_bg_animate_action(const regular_
bg_ animate_ action& other) - Copy constructor.
-
regular_bg_animate_action(regular_
bg_ animate_ action&& other) noexcept - Move constructor.
-
regular_bg_animate_action(const iregular_
bg_ animate_ action& other) - Copy constructor.
Public functions
-
auto operator=(const regular_
bg_ animate_ action& other) -> regular_ bg_ animate_ action& - Copy assignment operator.
-
auto operator=(regular_
bg_ animate_ action&& other) -> regular_ bg_ animate_ action& noexcept - Move assignment operator.
-
auto operator=(const iregular_
bg_ animate_ action& other) -> regular_ bg_ animate_ action& - Copy assignment operator.
-
auto operator=(iregular_
bg_ animate_ action&& other) -> regular_ bg_ animate_ action& noexcept - Move assignment operator.
Function documentation
template<int MaxSize>
static regular_ bg_ animate_ action bn:: regular_bg_animate_action<MaxSize>:: once(const regular_ bg_ ptr& regular_bg,
int wait_updates,
const regular_ bg_ map_ item& map_item,
const span<const uint16_t>& map_indexes)
Generates a regular_
Parameters | |
---|---|
regular_bg | regular_ |
wait_updates | Number of times the action must be updated before changing the map of the given regular_ |
map_item | It creates the new map to use by the given regular_ |
map_indexes | Indexes of the maps to reference in map_item. |
Returns | The requested regular_ |
template<int MaxSize>
static regular_ bg_ animate_ action bn:: regular_bg_animate_action<MaxSize>:: once(regular_ bg_ ptr&& regular_bg,
int wait_updates,
const regular_ bg_ map_ item& map_item,
const span<const uint16_t>& map_indexes)
Generates a regular_
Parameters | |
---|---|
regular_bg | regular_ |
wait_updates | Number of times the action must be updated before changing the map of the given regular_ |
map_item | It creates the new map to use by the given regular_ |
map_indexes | Indexes of the maps to reference in the given regular_ |
Returns | The requested regular_ |
template<int MaxSize>
static regular_ bg_ animate_ action bn:: regular_bg_animate_action<MaxSize>:: forever(const regular_ bg_ ptr& regular_bg,
int wait_updates,
const regular_ bg_ map_ item& map_item,
const span<const uint16_t>& map_indexes)
Generates a regular_
Parameters | |
---|---|
regular_bg | regular_ |
wait_updates | Number of times the action must be updated before changing the map of the given regular_ |
map_item | It creates the new map to use by the given regular_ |
map_indexes | Indexes of the maps to reference in the given regular_ |
Returns | The requested regular_ |
template<int MaxSize>
static regular_ bg_ animate_ action bn:: regular_bg_animate_action<MaxSize>:: forever(regular_ bg_ ptr&& regular_bg,
int wait_updates,
const regular_ bg_ map_ item& map_item,
const span<const uint16_t>& map_indexes)
Generates a regular_
Parameters | |
---|---|
regular_bg | regular_ |
wait_updates | Number of times the action must be updated before changing the map of the given regular_ |
map_item | It creates the new map to use by the given regular_ |
map_indexes | Indexes of the maps to reference in the given regular_ |
Returns | The requested regular_ |
template<int MaxSize>
bn:: regular_bg_animate_action<MaxSize>:: regular_bg_animate_action(const regular_ bg_ animate_ action& other)
Copy constructor.
Parameters | |
---|---|
other | regular_ |
template<int MaxSize>
bn:: regular_bg_animate_action<MaxSize>:: regular_bg_animate_action(regular_ bg_ animate_ action&& other) noexcept
Move constructor.
Parameters | |
---|---|
other | regular_ |
template<int MaxSize>
bn:: regular_bg_animate_action<MaxSize>:: regular_bg_animate_action(const iregular_ bg_ animate_ action& other)
Copy constructor.
Parameters | |
---|---|
other | iregular_ |
template<int MaxSize>
regular_ bg_ animate_ action& bn:: regular_bg_animate_action<MaxSize>:: operator=(const regular_ bg_ animate_ action& other)
Copy assignment operator.
Parameters | |
---|---|
other | regular_ |
Returns | Reference to this. |
template<int MaxSize>
regular_ bg_ animate_ action& bn:: regular_bg_animate_action<MaxSize>:: operator=(regular_ bg_ animate_ action&& other) noexcept
Move assignment operator.
Parameters | |
---|---|
other | regular_ |
Returns | Reference to this. |
template<int MaxSize>
regular_ bg_ animate_ action& bn:: regular_bg_animate_action<MaxSize>:: operator=(const iregular_ bg_ animate_ action& other)
Copy assignment operator.
Parameters | |
---|---|
other | iregular_ |
Returns | Reference to this. |
template<int MaxSize>
regular_ bg_ animate_ action& bn:: regular_bg_animate_action<MaxSize>:: operator=(iregular_ bg_ animate_ action&& other) noexcept
Move assignment operator.
Parameters | |
---|---|
other | ivector to move. |
Returns | Reference to this. |