diff options
author | Max-001 <80035972+Max-001@users.noreply.github.com> | 2024-10-05 12:25:10 +0200 |
---|---|---|
committer | Max-001 <80035972+Max-001@users.noreply.github.com> | 2024-10-05 12:25:10 +0200 |
commit | 4ec01101ddc04f4f30d0aa0b4f3f71fa74e0e6f3 (patch) | |
tree | 31e24d5fe7f42d8b711c69732fc2de75487f3451 /mwe/ecs-homemade/inc/Components.h | |
parent | 03b25facdf35117eb9f56c7a2edbec5b34b90203 (diff) |
Added some time testing for comparison
Diffstat (limited to 'mwe/ecs-homemade/inc/Components.h')
-rw-r--r-- | mwe/ecs-homemade/inc/Components.h | 6 |
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 { |