Update renderd7.hpp

This commit is contained in:
tobid7 2021-07-25 16:30:35 +02:00 committed by GitHub
parent 7c3e17e820
commit ed2b2c4ed8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,9 +72,15 @@ namespace RenderD7
/// Draw the Image directly
/// \param x The x position
/// \param y the y position
/// @param scaleX x scale from 0.0 to 1.0
/// @param scaleY y scale from 0.0 to 1.0
bool Draw(float x, float y, float scaleX = 1.0f, float scaleY = 1.0f);
/// @brief Get The Image
/// @return C2D_Image
C2D_Image Get(){return this->img;}
/// @img this is the C2D_Image
C2D_Image img;
/// @loadet whether the image is loadet or not
bool loadet = false;
};
/// Sprite Class