aboutsummaryrefslogtreecommitdiffstats
path: root/include/YAGE/sprite.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/YAGE/sprite.hpp')
-rw-r--r--include/YAGE/sprite.hpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/YAGE/sprite.hpp b/include/YAGE/sprite.hpp
index 9f765c7d..8abc339a 100644
--- a/include/YAGE/sprite.hpp
+++ b/include/YAGE/sprite.hpp
@@ -1,12 +1,15 @@
#ifndef SPRITE_HPP
#define SPRITE_HPP
-#include "gl_texture.hpp"
+#include "gltexture.hpp"
#include <GL/glew.h>
#include <string>
+namespace yage
+{
+
class Sprite
{
private:
@@ -23,5 +26,7 @@ public:
void init(float x, float y, float width, float height, const std::string &texture_path);
void draw();
};
+
+} // yage
#endif