aboutsummaryrefslogtreecommitdiff
path: root/mwe/ecs-homemade/inc
diff options
context:
space:
mode:
authorMax-001 <80035972+Max-001@users.noreply.github.com>2024-10-05 12:25:10 +0200
committerMax-001 <80035972+Max-001@users.noreply.github.com>2024-10-05 12:25:10 +0200
commit4ec01101ddc04f4f30d0aa0b4f3f71fa74e0e6f3 (patch)
tree31e24d5fe7f42d8b711c69732fc2de75487f3451 /mwe/ecs-homemade/inc
parent03b25facdf35117eb9f56c7a2edbec5b34b90203 (diff)
Added some time testing for comparison
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 {