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-02 15:54:36 +0200
committerMax-001 <80035972+Max-001@users.noreply.github.com>2024-10-02 15:54:36 +0200
commit9ef08417da5d3aada6306b70a056355071b8c3ca (patch)
treeb038d70b183f79020972b527a4db0da5011ed0ab /mwe/ecs-homemade/src/Components.cpp
parent2bd37e7d98728d72ba44da18eefea91547a7885a (diff)
Improved tests
Diffstat (limited to 'mwe/ecs-homemade/src/Components.cpp')
-rw-r--r--mwe/ecs-homemade/src/Components.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/mwe/ecs-homemade/src/Components.cpp b/mwe/ecs-homemade/src/Components.cpp
index 3aece4b..5f10bc5 100644
--- a/mwe/ecs-homemade/src/Components.cpp
+++ b/mwe/ecs-homemade/src/Components.cpp
@@ -8,3 +8,5 @@ void Sprite::Render() {
}
Rigidbody::Rigidbody(int mass, int gravityScale, int bodyType) : mMass(mass), mGravityScale(gravityScale), mBodyType(bodyType) {}
+
+Colider::Colider(int size) : mSize(size) {}