aboutsummaryrefslogtreecommitdiff
path: root/mwe/ecs-homemade/src/Components.cpp
diff options
context:
space:
mode:
authormax-001 <maxsmits21@kpnmail.nl>2024-10-16 17:05:46 +0200
committermax-001 <maxsmits21@kpnmail.nl>2024-10-16 17:05:46 +0200
commitd21afe5b33b4cb3f5cf1917f4d15f402de41a032 (patch)
tree6101e8c185bc2989b19b9db544353b32de35198d /mwe/ecs-homemade/src/Components.cpp
parent018f6209378a0c30c1e44fba2f80888553b9f67c (diff)
Make format
Diffstat (limited to 'mwe/ecs-homemade/src/Components.cpp')
-rw-r--r--mwe/ecs-homemade/src/Components.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mwe/ecs-homemade/src/Components.cpp b/mwe/ecs-homemade/src/Components.cpp
index e6a4673..de8753e 100644
--- a/mwe/ecs-homemade/src/Components.cpp
+++ b/mwe/ecs-homemade/src/Components.cpp
@@ -11,13 +11,13 @@ Rigidbody::Rigidbody(int mass, int gravityScale, int bodyType)
Colider::Colider(int size) : mSize(size) {}
void BehaviourScript::onStart() {
- if(behaviour) {
+ if (behaviour) {
behaviour->onStart();
}
}
void BehaviourScript::onUpdate() {
- if(behaviour) {
+ if (behaviour) {
behaviour->onUpdate();
}
}