aboutsummaryrefslogtreecommitdiff
path: root/mwe/ecs-homemade/src/Components.cpp
diff options
context:
space:
mode:
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) {}