aboutsummaryrefslogtreecommitdiff
path: root/mwe/ecs-homemade/src/Components.cpp
diff options
context:
space:
mode:
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();
}
}