aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/system/RenderSystem.h
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-28 09:18:13 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-28 09:18:13 +0100
commit71be3e36dbb402c3e84d87ea0255c08cb2a1b7ca (patch)
tree25a26be197fe64d2e4411ee0db1568fb6eb0b6f5 /src/crepe/system/RenderSystem.h
parent5fa57ab2d8f809b8cb6bd72f54567a01f3e63b95 (diff)
implemented feedback to have draw struct
Diffstat (limited to 'src/crepe/system/RenderSystem.h')
-rw-r--r--src/crepe/system/RenderSystem.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/crepe/system/RenderSystem.h b/src/crepe/system/RenderSystem.h
index 46ebb92..4667424 100644
--- a/src/crepe/system/RenderSystem.h
+++ b/src/crepe/system/RenderSystem.h
@@ -11,6 +11,8 @@ namespace crepe {
class Camera;
class Sprite;
+class Transform;
+
/**
* \class RenderSystem
@@ -75,6 +77,10 @@ private:
private:
SDLContext & context = SDLContext::get_instance();
+
+ //! camera postion in the current scene
+ vec2 cam_pos = {0,0};
+
};
} // namespace crepe