29 #ifndef NOMLIB_SDL2_CURSOR_HPP
30 #define NOMLIB_SDL2_CURSOR_HPP
35 #include "nomlib/config.hpp"
36 #include "nomlib/math/Coords.hpp"
37 #include "nomlib/graphics/sprite/AnimatedSprite.hpp"
59 Cursor (
const std::string& filename );
67 int32
x (
void )
const;
72 int32
y (
void )
const;
75 bool locked (
void )
const;
112 #endif // include guard defined
Helper class for loading, positioning and keeping track of a cursor controlled by an user-defined inp...
bool locked(void) const
Getter for obtaining locked status.
virtual int32 move_right(void)
void toggle_lock(bool toggle)
Toggle the lock variable.
Specialized class container for the creation of sprite sheets via RFC 4627 JSON-compliant file input...
Cursor & operator=(const Cursor &other)
Copy assignment operator.
virtual int32 move_down(void)
virtual int32 move_up(void)
virtual ~Cursor(void)
Destructor.
virtual int32 move_left(void)