class
#include <bn_sprite_actions.h>
sprite_rotation_manager Manages the rotation angle of a sprite_
Public static functions
-
static auto get(const sprite_
ptr& sprite) -> fixed - Returns the rotation angle of the given sprite_
ptr. -
static void set(fixed rotation_angle,
sprite_
ptr& sprite) - Sets the rotation angle of the given sprite_
ptr.
Function documentation
static void bn:: sprite_rotation_manager:: set(fixed rotation_angle,
sprite_ ptr& sprite)
Sets the rotation angle of the given sprite_
Parameters | |
---|---|
rotation_angle | Rotation angle in degrees, in the range [0..360]. |
sprite | sprite_ |