#ifndef SPRITE_HPP #define SPRITE_HPP #include "gltexture.hpp" #include #include namespace yage { class Sprite { private: float x_; float y_; float width_; float height_; GLuint vbo_id_ = 0; GlTexture texture_; public: Sprite(); ~Sprite(); void init(float x, float y, float width, float height, const std::string &texture_path); void draw(); }; } // yage #endif