diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-12-17 14:16:47 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-12-17 14:16:47 +0100 |
commit | 68be6b67f79413cb4af0ca15262ca1547a7d0d41 (patch) | |
tree | 5bc75deae3bf94d4002428c459f36783f0d74d32 /src/crepe/system/RenderSystem.h | |
parent | dff8c63a5af46fd3b0115e10efe9f0b67e9111b8 (diff) |
finalized text rendering
Diffstat (limited to 'src/crepe/system/RenderSystem.h')
-rw-r--r-- | src/crepe/system/RenderSystem.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/crepe/system/RenderSystem.h b/src/crepe/system/RenderSystem.h index 3aa846e..5fe24d7 100644 --- a/src/crepe/system/RenderSystem.h +++ b/src/crepe/system/RenderSystem.h @@ -27,7 +27,6 @@ public: void update() override; private: - void render_text(); //! Clears the screen in preparation for rendering. void clear_screen(); @@ -39,7 +38,7 @@ private: //! Renders the whole screen void render(); - + /** * \brief Renders all the particles on the screen from a given sprite. * @@ -53,11 +52,8 @@ private: bool render_particle(const Sprite & sprite, const double & scale); /** * \brief Renders all Text components - * - * \param text The text component to be rendered. - * \param tm the Transform component that holds the position,rotation and scale */ - void render_text(Text & text, const Transform & tm); + void render_text(); /** * \brief renders a sprite with a Transform component on the screen * |