aboutsummaryrefslogtreecommitdiff
path: root/include/mglpp/graphics/Drawable.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mglpp/graphics/Drawable.hpp')
-rw-r--r--include/mglpp/graphics/Drawable.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mglpp/graphics/Drawable.hpp b/include/mglpp/graphics/Drawable.hpp
index 3aa8d4f..f4766fb 100644
--- a/include/mglpp/graphics/Drawable.hpp
+++ b/include/mglpp/graphics/Drawable.hpp
@@ -10,8 +10,11 @@ namespace mgl {
friend class Window;
public:
virtual ~Drawable() = default;
+
virtual void set_position(vec2f position) = 0;
virtual void set_color(Color color) = 0;
+
+ virtual vec2f get_position() const = 0;
protected:
virtual void draw(Window &window) = 0;
};