class
#include <bn_sprite_palette_actions.h>
sprite_palette_rotate_manager Manages the number of colors to rotate to the right in a sprite_
Public static functions
-
static auto get(const sprite_
palette_ ptr& palette) -> int - Returns the number of colors to rotate to the right in the given sprite_
palette_ ptr. -
static void set(int count,
sprite_
palette_ ptr& palette) - Sets the number of colors to rotate to the right in the given sprite_
palette_ ptr.
Function documentation
static void bn:: sprite_palette_rotate_manager:: set(int count,
sprite_ palette_ ptr& palette)
Sets the number of colors to rotate to the right in the given sprite_
Parameters | |
---|---|
count | Number of colors to rotate to the right in the range [1 - rotate_range_size() .. rotate_range_size() - 1]. |
palette | sprite_ |