bn::sprite_scale_manager class

Manages the scale of a sprite_ptr.

Public static functions

static auto get(const sprite_ptr& sprite) -> fixed
Returns the horizontal scale of the given sprite_ptr.
static void set(fixed scale, sprite_ptr& sprite)
Sets the scale of the given sprite_ptr.