bn::sprite_top_left_position_manager class

Manages the top-left position of a sprite_ptr.

Public static functions

static auto get(const sprite_ptr& sprite) -> fixed_point
Returns the top-left position of the given sprite_ptr.
static void set(const fixed_point& top_left_position, sprite_ptr& sprite)
Sets the top-left position of the given sprite_ptr.