bn::sprite_position_manager class

Manages the position of a sprite_ptr.

Public static functions

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