bn::sprite_horizontal_flip_manager class

Manages if a sprite_ptr is flipped in its horizontal axis or not.

Contents

Public static functions

static auto get(const sprite_ptr& sprite) -> bool
Indicates if the given sprite_ptr is flipped in the horizontal axis or not.
static void set(bool horizontal_flip, sprite_ptr& sprite)
Sets if the given sprite_ptr must be flipped in the horizontal axis or not.