aboutsummaryrefslogtreecommitdiff
path: root/mwe/ecs-homemade/src/Components.cpp
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/src/Components.cpp
parent03b25facdf35117eb9f56c7a2edbec5b34b90203 (diff)
Added some time testing for comparison
Diffstat (limited to 'mwe/ecs-homemade/src/Components.cpp')
-rw-r--r--mwe/ecs-homemade/src/Components.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/mwe/ecs-homemade/src/Components.cpp b/mwe/ecs-homemade/src/Components.cpp
index 5f10bc5..69b5eaa 100644
--- a/mwe/ecs-homemade/src/Components.cpp
+++ b/mwe/ecs-homemade/src/Components.cpp
@@ -3,9 +3,7 @@
Component::Component() : mActive(true) {}
-void Sprite::Render() {
- std::cout << "Rendering sprite" << std::endl;
-}
+Sprite::Sprite(std::string path) : mPath(path) {}
Rigidbody::Rigidbody(int mass, int gravityScale, int bodyType) : mMass(mass), mGravityScale(gravityScale), mBodyType(bodyType) {}