aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/system/RenderSystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/system/RenderSystem.h')
-rw-r--r--src/crepe/system/RenderSystem.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/crepe/system/RenderSystem.h b/src/crepe/system/RenderSystem.h
index 70db21a..a83633a 100644
--- a/src/crepe/system/RenderSystem.h
+++ b/src/crepe/system/RenderSystem.h
@@ -3,6 +3,9 @@
#include "api/Camera.h"
#include "System.h"
+#include "api/Sprite.h"
+#include <functional>
+#include <vector>
namespace crepe {
@@ -44,7 +47,10 @@ private:
void update_camera();
//! Renders all active sprites to the screen.
- void render_sprites() const;
+ void render_sprites() ;
+
+ std::vector<std::reference_wrapper<Sprite>>
+ sort(std::vector<std::reference_wrapper<Sprite>> & objs);
/**
* \todo Include color handling for sprites.