diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-06 13:22:10 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-06 13:22:10 +0200 |
commit | 7c9d3452c99fcb89ea6df55755e90f741b23cf10 (patch) | |
tree | 93fab445cd4c0ebb392c2f4def2a0bd32d2709d2 /mwe/ecs-homemade/src/Components.cpp | |
parent | 02d658a7ed92bacfdaed587102f0d2e5f6c5dc01 (diff) |
copy homemade ECS to crepe + correct code style
Diffstat (limited to 'mwe/ecs-homemade/src/Components.cpp')
-rw-r--r-- | mwe/ecs-homemade/src/Components.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mwe/ecs-homemade/src/Components.cpp b/mwe/ecs-homemade/src/Components.cpp index 69b5eaa..c8347b3 100644 --- a/mwe/ecs-homemade/src/Components.cpp +++ b/mwe/ecs-homemade/src/Components.cpp @@ -5,6 +5,7 @@ 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) {} +Rigidbody::Rigidbody(int mass, int gravityScale, int bodyType) + : mMass(mass), mGravityScale(gravityScale), mBodyType(bodyType) {} Colider::Colider(int size) : mSize(size) {} |