diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-11-13 19:05:25 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-11-13 19:05:25 +0100 |
commit | 0b2ca3c323c7f73d031e7014ba0a17dcf0b59751 (patch) | |
tree | 8a3ebeee7e2aab9ba064c62fce0cd33def6f2d18 /mwe/ecs-homemade/src | |
parent | 1d4b3a44c9ce1e69f4f0e3909998225f8af3fea2 (diff) | |
parent | f2509e89c02894ebd3ad992324eb300103621d26 (diff) |
merge with master
Diffstat (limited to 'mwe/ecs-homemade/src')
-rw-r--r-- | mwe/ecs-homemade/src/Components.cpp | 4 | ||||
-rw-r--r-- | mwe/ecs-homemade/src/GameObjectMax.cpp | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/mwe/ecs-homemade/src/Components.cpp b/mwe/ecs-homemade/src/Components.cpp index de8753e..0d62bd5 100644 --- a/mwe/ecs-homemade/src/Components.cpp +++ b/mwe/ecs-homemade/src/Components.cpp @@ -6,7 +6,9 @@ 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) {} diff --git a/mwe/ecs-homemade/src/GameObjectMax.cpp b/mwe/ecs-homemade/src/GameObjectMax.cpp index b0c5af7..753c8e2 100644 --- a/mwe/ecs-homemade/src/GameObjectMax.cpp +++ b/mwe/ecs-homemade/src/GameObjectMax.cpp @@ -4,4 +4,8 @@ GameObject::GameObject(std::uint32_t id, std::string name, std::string tag, int layer) - : mId(id), mName(name), mTag(tag), mActive(true), mLayer(layer) {} + : mId(id), + mName(name), + mTag(tag), + mActive(true), + mLayer(layer) {} |