diff --git a/renderd7.hpp b/renderd7.hpp index d8ed7ba..f5cdd19 100644 --- a/renderd7.hpp +++ b/renderd7.hpp @@ -70,8 +70,8 @@ namespace RenderD7 /// buffer: the frame buffer void LoadPFromBuffer(const std::vector &buffer); /// Draw the Image directly - /// x: The x position - /// y: the y position + /// \param x The x position + /// \param y the y position bool Draw(float x, float y, float scaleX = 1.0f, float scaleY = 1.0f); C2D_Image Get(){return this->img;} C2D_Image img; @@ -81,6 +81,7 @@ namespace RenderD7 class Sprite { public: + /// \brief Construct Sprite Sprite(); ~Sprite(); void FromSheet(RenderD7::Sheet *sheet, size_t index);