aboutsummaryrefslogtreecommitdiff
path: root/mwe/ecs-memory-efficient/src/Components.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-11-13 19:05:25 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-11-13 19:05:25 +0100
commit0b2ca3c323c7f73d031e7014ba0a17dcf0b59751 (patch)
tree8a3ebeee7e2aab9ba064c62fce0cd33def6f2d18 /mwe/ecs-memory-efficient/src/Components.cpp
parent1d4b3a44c9ce1e69f4f0e3909998225f8af3fea2 (diff)
parentf2509e89c02894ebd3ad992324eb300103621d26 (diff)
merge with master
Diffstat (limited to 'mwe/ecs-memory-efficient/src/Components.cpp')
-rw-r--r--mwe/ecs-memory-efficient/src/Components.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/mwe/ecs-memory-efficient/src/Components.cpp b/mwe/ecs-memory-efficient/src/Components.cpp
index c8347b3..2ec8609 100644
--- a/mwe/ecs-memory-efficient/src/Components.cpp
+++ b/mwe/ecs-memory-efficient/src/Components.cpp
@@ -6,6 +6,8 @@ Component::Component() : mActive(true) {}
Sprite::Sprite(std::string path) : mPath(path) {}
Rigidbody::Rigidbody(int mass, int gravityScale, int bodyType)
- : mMass(mass), mGravityScale(gravityScale), mBodyType(bodyType) {}
+ : mMass(mass),
+ mGravityScale(gravityScale),
+ mBodyType(bodyType) {}
Colider::Colider(int size) : mSize(size) {}