aboutsummaryrefslogtreecommitdiff
path: root/mwe/ecs-homemade/inc
diff options
context:
space:
mode:
Diffstat (limited to 'mwe/ecs-homemade/inc')
-rw-r--r--mwe/ecs-homemade/inc/Components.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/mwe/ecs-homemade/inc/Components.h b/mwe/ecs-homemade/inc/Components.h
index 2645a45..98c5fe7 100644
--- a/mwe/ecs-homemade/inc/Components.h
+++ b/mwe/ecs-homemade/inc/Components.h
@@ -1,5 +1,7 @@
#pragma once
+#include <string>
+
class Component {
public:
Component();
@@ -9,7 +11,9 @@ public:
class Sprite : public Component {
public:
- void Render();
+ Sprite(std::string path);
+
+ std::string mPath;
};
class Rigidbody : public Component {